pub enum StorageBackend {
Memory,
RocksDB,
Redis,
Custom(&'static str),
}
Expand description
Storage backend types
Variants§
Trait Implementations§
Source§impl Clone for StorageBackend
impl Clone for StorageBackend
Source§fn clone(&self) -> StorageBackend
fn clone(&self) -> StorageBackend
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 Debug for StorageBackend
impl Debug for StorageBackend
Source§impl Display for StorageBackend
impl Display for StorageBackend
Source§impl PartialEq for StorageBackend
impl PartialEq for StorageBackend
impl Copy for StorageBackend
impl Eq for StorageBackend
impl StructuralPartialEq for StorageBackend
Auto Trait Implementations§
impl Freeze for StorageBackend
impl RefUnwindSafe for StorageBackend
impl Send for StorageBackend
impl Sync for StorageBackend
impl Unpin for StorageBackend
impl UnwindSafe for StorageBackend
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