pub trait QueryClient: Send + Sync {
// Required method
fn get_events<'life0, 'async_trait>(
&'life0 self,
query: Query,
) -> Pin<Box<dyn Future<Output = Result<EventBook>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait for event query client operations.
Implement this trait to create mock clients for testing or alternative transport implementations.