Trait QueryExecutor

Source
pub trait QueryExecutor {
    // Required methods
    fn query<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        q: &'life1 Query,
        username: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<QueryResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn query_move_requests<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        query: &'life1 Query,
        username: &'life2 str,
        src_node: &'life3 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn list_metadata<'life0, 'life1, 'async_trait>(
        &'life0 self,
        tags: Option<Vec<String>>,
        meta_keys: Option<Vec<String>>,
        username: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<MetadataList>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn query<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, q: &'life1 Query, username: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<QueryResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn query_move_requests<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, query: &'life1 Query, username: &'life2 str, src_node: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn list_metadata<'life0, 'life1, 'async_trait>( &'life0 self, tags: Option<Vec<String>>, meta_keys: Option<Vec<String>>, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<MetadataList>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§