Struct rocksdb::SingleThreaded
source · [−]pub struct SingleThreaded { /* private fields */ }
Expand description
Actual marker type for the internal 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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more