Struct MemSimpleStateStore
pub struct MemSimpleStateStore(/* private fields */);Expand description
Memory-implemented (volatile) SimpleStateStore for testing/debugging purpose.
Implementations§
§impl MemSimpleStateStore
impl MemSimpleStateStore
pub fn new() -> Self
Trait Implementations§
§impl SimpleStateStore for MemSimpleStateStore
impl SimpleStateStore for MemSimpleStateStore
§fn atomic_write<'a>(
&'a self,
changes: Box<dyn Iterator<Item = (Key, Option<Value>)> + 'a>,
) -> Result<(), SimpleStateStoreError>
fn atomic_write<'a>( &'a self, changes: Box<dyn Iterator<Item = (Key, Option<Value>)> + 'a>, ) -> Result<(), SimpleStateStoreError>
Atomically apply a list of changes described by the iterator to the store.
§impl StateR for MemSimpleStateStore
impl StateR for MemSimpleStateStore
Auto Trait Implementations§
impl !Freeze for MemSimpleStateStore
impl !RefUnwindSafe for MemSimpleStateStore
impl Send for MemSimpleStateStore
impl Sync for MemSimpleStateStore
impl Unpin for MemSimpleStateStore
impl !UnwindSafe for MemSimpleStateStore
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