pub enum Db<K: Key, V: Value> {
FileBased(FileDb<K, V>),
InMemory(InMemoryDb<K, V>),
}
Variants§
FileBased(FileDb<K, V>)
InMemory(InMemoryDb<K, V>)
Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Db<K, V>
impl<K, V> !RefUnwindSafe for Db<K, V>
impl<K, V> Send for Db<K, V>
impl<K, V> Sync for Db<K, V>
impl<K, V> Unpin for Db<K, V>
impl<K, V> !UnwindSafe for Db<K, V>
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