Struct rocksdb::MultiThreaded
source · pub struct MultiThreaded { /* private fields */ }
Expand description
Actual marker type for the marker trait ThreadMode
, which holds
a collection of column families wrapped in a RwLock to be mutated
concurrently. The other mode is SingleThreaded
.
See DB
for more details, including performance implications for each mode
Trait Implementations§
source§impl ThreadMode for MultiThreaded
impl ThreadMode for MultiThreaded
source§fn new_cf_map_internal(
cfs: BTreeMap<String, *mut rocksdb_column_family_handle_t>,
) -> Self
fn new_cf_map_internal( cfs: BTreeMap<String, *mut rocksdb_column_family_handle_t>, ) -> Self
Internal implementation for storing column family handles
source§fn drop_all_cfs_internal(&mut self)
fn drop_all_cfs_internal(&mut self)
Internal implementation for dropping column family handles
Auto Trait Implementations§
impl !Freeze for MultiThreaded
impl RefUnwindSafe for MultiThreaded
impl Send for MultiThreaded
impl Sync for MultiThreaded
impl Unpin for MultiThreaded
impl UnwindSafe for MultiThreaded
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