Trait ckb_rocksdb::ops::Open

source ·
pub trait Open: OpenRaw {
    // Provided methods
    fn open_default<P: AsRef<Path>>(path: P) -> Result<Self, Error> { ... }
    fn open<P: AsRef<Path>>(opts: &Options, path: P) -> Result<Self, Error> { ... }
    fn open_with_descriptor<P: AsRef<Path>>(
        opts: &Options,
        path: P,
        descriptor: Self::Descriptor
    ) -> Result<Self, Error> { ... }
}

Provided Methods§

source

fn open_default<P: AsRef<Path>>(path: P) -> Result<Self, Error>

Open a database with default options.

source

fn open<P: AsRef<Path>>(opts: &Options, path: P) -> Result<Self, Error>

Open the database with the specified options.

source

fn open_with_descriptor<P: AsRef<Path>>( opts: &Options, path: P, descriptor: Self::Descriptor ) -> Result<Self, Error>

Object Safety§

This trait is not object safe.

Implementors§