Struct lmdb::Database
[−]
[src]
pub struct Database { /* fields omitted */ }
A handle to an individual database in an environment.
A database handle denotes the name and parameters of a database in an environment.
Methods
impl Database
[src]
fn dbi(&self) -> MDB_dbi
Returns the underlying LMDB database handle.
The caller must ensure that the handle is not used after the lifetime of the environment, or after the database has been closed.
Trait Implementations
impl Clone for Database
[src]
fn clone(&self) -> Database
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 Copy for Database
[src]
impl Debug for Database
[src]
impl Eq for Database
[src]
impl PartialEq for Database
[src]
fn eq(&self, __arg_0: &Database) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Database) -> bool
This method tests for !=
.