pub struct MemoryStateStore { /* private fields */ }Expand description
In-memory StateStore — the default backend.
States live as Arc<Value> so reads are zero-copy (just Arc::clone)
and multiple consumers can hold references concurrently.
Implementations§
Trait Implementations§
Source§impl Default for MemoryStateStore
impl Default for MemoryStateStore
Source§fn default() -> MemoryStateStore
fn default() -> MemoryStateStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MemoryStateStore
impl RefUnwindSafe for MemoryStateStore
impl Send for MemoryStateStore
impl Sync for MemoryStateStore
impl Unpin for MemoryStateStore
impl UnsafeUnpin for MemoryStateStore
impl UnwindSafe for MemoryStateStore
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