pub struct MemoryPersist { /* private fields */ }
Expand description
Memory implementation for dev/testing.
The entries in memory are never saved to disk and are gone when the process dies.
Since the API is rate limited it’s not a good idea to use this in production code.
Implementations§
Source§impl MemoryPersist
impl MemoryPersist
Trait Implementations§
Source§impl Clone for MemoryPersist
impl Clone for MemoryPersist
Source§fn clone(&self) -> MemoryPersist
fn clone(&self) -> MemoryPersist
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for MemoryPersist
impl Default for MemoryPersist
Source§fn default() -> MemoryPersist
fn default() -> MemoryPersist
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryPersist
impl RefUnwindSafe for MemoryPersist
impl Send for MemoryPersist
impl Sync for MemoryPersist
impl Unpin for MemoryPersist
impl UnwindSafe for MemoryPersist
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