[][src]Struct ckb_rocksdb::DB

pub struct DB { /* fields omitted */ }

A RocksDB database.

See crate level documentation for a simple usage example.

Methods

impl DB[src]

pub fn list_cf<P: AsRef<Path>>(
    opts: &Options,
    path: P
) -> Result<Vec<String>, Error>
[src]

pub fn destroy<P: AsRef<Path>>(opts: &Options, path: P) -> Result<(), Error>[src]

pub fn repair<P: AsRef<Path>>(opts: Options, path: P) -> Result<(), Error>[src]

pub fn path(&self) -> &Path[src]

pub fn snapshot(&self) -> Snapshot[src]

Trait Implementations

impl Debug for DB[src]

impl Drop for DB[src]

impl GetColumnFamilys for DB[src]

impl Handle<rocksdb_t> for DB[src]

impl Iterate for DB[src]

impl IterateCF for DB[src]

impl Open for DB[src]

impl OpenCF for DB[src]

impl Read for DB[src]

impl Send for DB[src]

impl Sync for DB[src]

impl Write for DB[src]

Auto Trait Implementations

impl RefUnwindSafe for DB

impl Unpin for DB

impl UnwindSafe for DB

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.