pub struct InMemoryEventStore { /* private fields */ }Trait Implementations§
Source§impl Clone for InMemoryEventStore
impl Clone for InMemoryEventStore
Source§impl Debug for InMemoryEventStore
impl Debug for InMemoryEventStore
Source§impl Default for InMemoryEventStore
impl Default for InMemoryEventStore
Source§impl Reader for InMemoryEventStore
impl Reader for InMemoryEventStore
fn read<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
seq: i64,
) -> Pin<Box<dyn Future<Output = Result<Payload, ProtocolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_to<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
from: i64,
to: i64,
) -> Pin<Box<dyn Future<Output = Result<BTreeSet<Payload>, ProtocolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_to_latest<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
from: i64,
) -> Pin<Box<dyn Future<Output = Result<BTreeSet<Payload>, ProtocolError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for InMemoryEventStore
impl !RefUnwindSafe for InMemoryEventStore
impl Send for InMemoryEventStore
impl Sync for InMemoryEventStore
impl Unpin for InMemoryEventStore
impl !UnwindSafe for InMemoryEventStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more