Skip to main content

DB

Type Alias DB 

Source
pub type DB = DBWithThreadMode<MultiThreaded>;
Available on crate feature multi-threaded-cf only.

Aliased Type§

pub struct DB { /* private fields */ }

Trait Implementations§

Source§

impl AsRawPtr<rocksdb_t> for DB

Available on crate feature raw-ptr only.
Source§

unsafe fn as_raw_ptr(&self) -> *mut rocksdb_t

Returns a raw pointer to the underlying rocksdb_t object.

This allows direct access to the RocksDB C API for advanced use cases.