pub fn new<Q>(src: S, dst: &'w mut D, queries: &[Q], origin_query: Option<String>) -> Self
    where
        for<'a> &'a Q: Into<CXQuery>,
    {
        Dispatcher {
            src,
            dst,
            queries: queries.iter().map(Into::into).collect(),
            origin_query,
            _phantom: PhantomData,
        }
    }
/// Create a new dispatcher by providing a source, a destination and the queries.
Create a new dispatcher by providing a source, a destination and the queries.
Create a new dispatcher by providing a source a destination and the queries .
pub fn new<Q>(src: S, dst: &'w mut D, queries: &[Q], origin_query: Option<String>) -> Self
    where
        for<'a> &'a Q: Into<CXQuery>,
    {
        Dispatcher {
            src,
            dst,
            queries: queries.iter().map(Into::into).collect(),
            origin_query,
            _phantom: PhantomData,
        }
    }
pub fn new < Q > ( src : S , dst : & ' w mut D , queries : & [ Q ] , origin_query : Option < String > ) -> Self where for < ' a > & ' a Q : Into < CXQuery > , { Dispatcher { src , dst , queries : queries . iter ( ) . map ( Into :: into ) . collect ( ) , origin_query , _phantom : PhantomData , } }
Create a new dispatcher by providing a source, a destination and the queries.
Create a new dispatcher by providing a source a destination and the queries .
src
S
dst
&'w mut D
queries
&[Q]
origin_query
Option<String>
src
S
dst
&'w mut D
queries
&[Q]
origin_query
Option<String>