Struct rocksdb::BoundColumnFamily [−][src]
pub struct BoundColumnFamily<'a> { /* fields omitted */ }
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
impl<'a> AsColumnFamilyRef for BoundColumnFamily<'a>
[src]
impl<'a> AsColumnFamilyRef for BoundColumnFamily<'a>
[src]fn inner(&self) -> *mut rocksdb_column_family_handle_t
[src]
impl<'a> Clone for BoundColumnFamily<'a>
[src]
impl<'a> Clone for BoundColumnFamily<'a>
[src]