pub struct MemoryStore { /* private fields */ }Expand description
In-memory reference store. Useful for tests, examples and tooling.
Implementations§
Trait Implementations§
Source§impl Debug for MemoryStore
impl Debug for MemoryStore
Source§impl Store for MemoryStore
impl Store for MemoryStore
Source§fn history(&self, id: &RecordId) -> Result<Vec<Event>>
fn history(&self, id: &RecordId) -> Result<Vec<Event>>
Full history of a record, ordered by sequence.
fn event_by_idempotency_key(&self, key: &str) -> Result<Option<Event>>
Auto Trait Implementations§
impl Freeze for MemoryStore
impl RefUnwindSafe for MemoryStore
impl Send for MemoryStore
impl Sync for MemoryStore
impl Unpin for MemoryStore
impl UnsafeUnpin for MemoryStore
impl UnwindSafe for MemoryStore
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