pub struct InMemoryCheckpointStore { /* private fields */ }Expand description
Cloneable in-memory checkpoint store for tests and ephemeral processes.
Implementations§
Trait Implementations§
Source§impl CheckpointStore for InMemoryCheckpointStore
impl CheckpointStore for InMemoryCheckpointStore
Source§fn load(&self, id: CheckpointId) -> Result<Checkpoint, CheckpointError>
fn load(&self, id: CheckpointId) -> Result<Checkpoint, CheckpointError>
Loads the latest checkpoint revision. Read more
Source§fn compare_and_swap(
&self,
checkpoint: &Checkpoint,
expected_revision: Option<u64>,
) -> Result<(), CheckpointError>
fn compare_and_swap( &self, checkpoint: &Checkpoint, expected_revision: Option<u64>, ) -> Result<(), CheckpointError>
Creates or atomically replaces a checkpoint. Read more
Source§impl Clone for InMemoryCheckpointStore
impl Clone for InMemoryCheckpointStore
Source§fn clone(&self) -> InMemoryCheckpointStore
fn clone(&self) -> InMemoryCheckpointStore
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 InMemoryCheckpointStore
impl Debug for InMemoryCheckpointStore
Source§impl Default for InMemoryCheckpointStore
impl Default for InMemoryCheckpointStore
Source§fn default() -> InMemoryCheckpointStore
fn default() -> InMemoryCheckpointStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryCheckpointStore
impl RefUnwindSafe for InMemoryCheckpointStore
impl Send for InMemoryCheckpointStore
impl Sync for InMemoryCheckpointStore
impl Unpin for InMemoryCheckpointStore
impl UnsafeUnpin for InMemoryCheckpointStore
impl UnwindSafe for InMemoryCheckpointStore
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