Skip to main content

RuntimeQueryBus

Trait RuntimeQueryBus 

Source
pub trait RuntimeQueryBus: Send + Sync {
    // Required method
    fn ask<'life0, 'async_trait>(
        &'life0 self,
        query: RuntimeQuery,
    ) -> Pin<Box<dyn Future<Output = Result<RuntimeQueryResult, CamelError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn ask<'life0, 'async_trait>( &'life0 self, query: RuntimeQuery, ) -> Pin<Box<dyn Future<Output = Result<RuntimeQueryResult, CamelError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§