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
sourceimpl ThreadMode for SingleThreaded
impl ThreadMode for SingleThreaded
sourcefn 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
sourcefn drop_all_cfs_internal(&mut self)
fn drop_all_cfs_internal(&mut self)
Internal implementation for dropping column family handles
Auto Trait Implementations
impl RefUnwindSafe for SingleThreaded
impl Send for SingleThreaded
impl !Sync for SingleThreaded
impl Unpin for SingleThreaded
impl UnwindSafe for SingleThreaded
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more