pub trait QuerySink {
    // Required method
    fn send_query<'a, 'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        query_type: &'life1 str,
        query: &'life2 (dyn VecU8Message + Sync)
    ) -> Pin<Box<dyn Future<Output = Result<Vec<SerializedObject>, Error>> + Send + 'async_trait>>
       where 'a: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
}
Expand description

Trait that is implemented by an object that can be used to send queries to AxonServer.

Required Methods§

source

fn send_query<'a, 'life0, 'life1, 'life2, 'async_trait>( &'life0 self, query_type: &'life1 str, query: &'life2 (dyn VecU8Message + Sync) ) -> Pin<Box<dyn Future<Output = Result<Vec<SerializedObject>, Error>> + Send + 'async_trait>>
where 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Implementors§