servers::query_handler

Trait LogQueryHandler

source
pub trait LogQueryHandler {
    // Required method
    fn query<'life0, 'async_trait>(
        &'life0 self,
        query: LogQuery,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Handle log query requests.

Required Methods§

source

fn query<'life0, 'async_trait>( &'life0 self, query: LogQuery, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§