Struct rocksdb::SingleThreaded
source · pub struct SingleThreaded { /* private fields */ }
Expand description
Actual marker type for the marker trait ThreadMode
, which holds
a collection of column families without synchronization primitive, providing
no overhead for the single-threaded column family alternations. The other
mode is MultiThreaded
.
See DB
for more details, including performance implications for each mode
Trait Implementations§
source§impl ThreadMode for SingleThreaded
impl ThreadMode for SingleThreaded
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 SingleThreaded
impl RefUnwindSafe for SingleThreaded
impl Send for SingleThreaded
impl !Sync for SingleThreaded
impl Unpin for SingleThreaded
impl UnwindSafe for SingleThreaded
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