pub struct EphemeralNonVolatileStore(/* private fields */);
Expand description
An ephemeral implementation of NonVolatileStore
backed by an in-memory
buffer. Useful for tests, stateless VM scenarios.
Implementations§
Source§impl EphemeralNonVolatileStore
impl EphemeralNonVolatileStore
Sourcepub fn new_boxed() -> Box<dyn NonVolatileStore>
pub fn new_boxed() -> Box<dyn NonVolatileStore>
Shortcut to create a Box<dyn NonVolatileStore>
backed by an
EphemeralNonVolatileStore
.
Trait Implementations§
Source§impl Default for EphemeralNonVolatileStore
impl Default for EphemeralNonVolatileStore
Source§fn default() -> EphemeralNonVolatileStore
fn default() -> EphemeralNonVolatileStore
Returns the “default value” for a type. Read more
Source§impl NonVolatileStore for EphemeralNonVolatileStore
impl NonVolatileStore for EphemeralNonVolatileStore
Auto Trait Implementations§
impl Freeze for EphemeralNonVolatileStore
impl RefUnwindSafe for EphemeralNonVolatileStore
impl Send for EphemeralNonVolatileStore
impl Sync for EphemeralNonVolatileStore
impl Unpin for EphemeralNonVolatileStore
impl UnwindSafe for EphemeralNonVolatileStore
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