Struct rocksdb::BoundColumnFamily
source · pub struct BoundColumnFamily<'a> { /* private fields */ }
Expand description
A specialized opaque type used to represent a column family by the MultiThreaded
mode. Clone (and Copy) is derived to behave like &ColumnFamily
(this is used for
single-threaded mode). Clone
/Copy
is safe because this lifetime is bound to DB like
iterators/snapshots. On top of it, this is as cheap and small as &ColumnFamily
because
this only has a single pointer-wide field.
Trait Implementations§
source§impl<'a> Drop for BoundColumnFamily<'a>
impl<'a> Drop for BoundColumnFamily<'a>
impl<'a> Send for BoundColumnFamily<'a>
Auto Trait Implementations§
impl<'a> Freeze for BoundColumnFamily<'a>
impl<'a> RefUnwindSafe for BoundColumnFamily<'a>
impl<'a> !Sync for BoundColumnFamily<'a>
impl<'a> Unpin for BoundColumnFamily<'a>
impl<'a> UnwindSafe for BoundColumnFamily<'a>
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