Struct exonum::storage::LevelDB
[−]
[src]
pub struct LevelDB { /* fields omitted */ }
Database implementation on the top of LevelDB
backend.
Methods
impl LevelDB
[src]
fn open<P: AsRef<Path>>(path: P, options: LevelDBOptions) -> Result<LevelDB>
Open a database stored in the specified path with the specified options.
Trait Implementations
impl Clone for LevelDB
[src]
fn clone(&self) -> LevelDB
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Database for LevelDB
[src]
fn clone(&self) -> Box<Database>
Creates a new reference to the database as Box<Database>
.
fn snapshot(&self) -> Box<Snapshot>
Creates a new snapshot of the database from its current state. Read more
fn merge(&mut self, patch: Patch) -> Result<()>
Atomically applies a sequence of patch changes to the database. Read more
fn fork(&self) -> Fork
Creates a new fork of the database from its current state. Read more