pub struct InMemorySnapshotStore<P> { /* private fields */ }Trait Implementations§
Source§impl<P: Clone> Clone for InMemorySnapshotStore<P>
impl<P: Clone> Clone for InMemorySnapshotStore<P>
Source§impl<P: Debug> Debug for InMemorySnapshotStore<P>
impl<P: Debug> Debug for InMemorySnapshotStore<P>
Source§impl<P: Default> Default for InMemorySnapshotStore<P>
impl<P: Default> Default for InMemorySnapshotStore<P>
Source§impl<P> SnapshotStore<P> for InMemorySnapshotStore<P>
impl<P> SnapshotStore<P> for InMemorySnapshotStore<P>
Source§fn save(&mut self, snapshot: &ProjectionSnapshot<P>) -> Result<()>
fn save(&mut self, snapshot: &ProjectionSnapshot<P>) -> Result<()>
Saves an immutable projection snapshot. Read more
Source§fn load_latest(&self) -> Result<Option<ProjectionSnapshot<P>>>
fn load_latest(&self) -> Result<Option<ProjectionSnapshot<P>>>
Loads the snapshot with the greatest global event position. Read more
Auto Trait Implementations§
impl<P> Forget for InMemorySnapshotStore<P>
impl<P> Freeze for InMemorySnapshotStore<P>
impl<P> RefUnwindSafe for InMemorySnapshotStore<P>
impl<P> Send for InMemorySnapshotStore<P>
impl<P> Sync for InMemorySnapshotStore<P>
impl<P> Unpin for InMemorySnapshotStore<P>
impl<P> UnsafeUnpin for InMemorySnapshotStore<P>
impl<P> UnwindSafe for InMemorySnapshotStore<P>
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