pub struct MemoryEventStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for MemoryEventStore
impl Clone for MemoryEventStore
Source§fn clone(&self) -> MemoryEventStore
fn clone(&self) -> MemoryEventStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryEventStore
impl Debug for MemoryEventStore
Source§impl Default for MemoryEventStore
impl Default for MemoryEventStore
Source§fn default() -> MemoryEventStore
fn default() -> MemoryEventStore
Returns the “default value” for a type. Read more
Source§impl EventStore for MemoryEventStore
impl EventStore for MemoryEventStore
fn append<'life0, 'async_trait>(
&'life0 self,
events: Vec<Event>,
) -> Pin<Box<dyn Future<Output = Result<Vec<EventId>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn scan<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Event>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn scan_after<'life0, 'async_trait>(
&'life0 self,
event_id: Option<EventId>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Event>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for MemoryEventStore
impl RefUnwindSafe for MemoryEventStore
impl Send for MemoryEventStore
impl Sync for MemoryEventStore
impl Unpin for MemoryEventStore
impl UnsafeUnpin for MemoryEventStore
impl UnwindSafe for MemoryEventStore
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