pub struct InMemoryDataStorageBackend { /* private fields */ }Expand description
In-memory data storage backend
Implementations§
Trait Implementations§
Source§impl DataStorageBackend for InMemoryDataStorageBackend
impl DataStorageBackend for InMemoryDataStorageBackend
Source§fn statistics(&self) -> StorageStatistics
fn statistics(&self) -> StorageStatistics
Get storage statistics
Source§impl Debug for InMemoryDataStorageBackend
impl Debug for InMemoryDataStorageBackend
Auto Trait Implementations§
impl Freeze for InMemoryDataStorageBackend
impl RefUnwindSafe for InMemoryDataStorageBackend
impl Send for InMemoryDataStorageBackend
impl Sync for InMemoryDataStorageBackend
impl Unpin for InMemoryDataStorageBackend
impl UnwindSafe for InMemoryDataStorageBackend
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more