Struct sanakirja::Env
[−]
[src]
pub struct Env { // some fields omitted }
Environment, containing in particular a pointer to the memory-mapped file.
Methods
impl Env
[src]
fn new<P: AsRef<Path>>(file: P) -> Result<Env, Error>
Creates an environment.
fn statistics(&self) -> Statistics
Returns statistics about pages.
fn txn_begin<'env>(&'env self) -> Txn<'env>
Start an immutable transaction.
fn mut_txn_begin<'env>(&'env self) -> MutTxn<'env>
Start a mutable transaction.