Trait MeshEventStore
Source pub trait MeshEventStore: Send + Sync {
// Required methods
fn ingest_trusted_event<'life0, 'async_trait>(
&'life0 self,
event: Event,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn query_events<'life0, 'life1, 'async_trait>(
&'life0 self,
filter: &'life1 Filter,
limit: usize,
) -> Pin<Box<dyn Future<Output = Vec<Event>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}