Struct rocksdb_table::Database
source · 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> 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