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§

Internal implementation for storing column family handles
Internal implementation for dropping column family handles

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.