pub struct MemoryStorage(/* private fields */);Expand description
Clonable in-memory storage; clones share bytes (simulates an app restart).
Trait Implementations§
Source§impl Clone for MemoryStorage
impl Clone for MemoryStorage
Source§impl Default for MemoryStorage
impl Default for MemoryStorage
Auto Trait Implementations§
impl Freeze for MemoryStorage
impl RefUnwindSafe for MemoryStorage
impl Send for MemoryStorage
impl Sync for MemoryStorage
impl Unpin for MemoryStorage
impl UnsafeUnpin for MemoryStorage
impl UnwindSafe for MemoryStorage
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