pub trait RunEventStore: Send + Sync {
// Required methods
fn append(&self, event: &RunEvent) -> Result<(), EventStoreError>;
fn replay(
&self,
query: RunEventReplayQuery,
) -> Result<RunEventIter, EventStoreError>;
}Required Methods§
fn append(&self, event: &RunEvent) -> Result<(), EventStoreError>
fn replay( &self, query: RunEventReplayQuery, ) -> Result<RunEventIter, EventStoreError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".