pub struct Database<M> {
pub db: Arc<DB>,
/* private fields */
}
Expand description
A wrapper for a RocksDB database that maintains type information about whether it was opened in read-only mode.
Fields§
§db: Arc<DB>
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for Database<M>
impl<M> RefUnwindSafe for Database<M>where
M: RefUnwindSafe,
impl<M> Send for Database<M>where
M: Send,
impl<M> Sync for Database<M>where
M: Sync,
impl<M> Unpin for Database<M>where
M: Unpin,
impl<M> UnwindSafe for Database<M>where
M: UnwindSafe,
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