[][src]Struct heed::Env

pub struct Env(_);

Methods

impl Env[src]

pub fn open_database<KC, DC>(
    &self,
    name: Option<&str>
) -> Result<Option<Database<KC, DC>>> where
    KC: 'static,
    DC: 'static, 
[src]

pub fn open_poly_database(
    &self,
    name: Option<&str>
) -> Result<Option<PolyDatabase>>
[src]

pub fn create_database<KC, DC>(
    &self,
    name: Option<&str>
) -> Result<Database<KC, DC>> where
    KC: 'static,
    DC: 'static, 
[src]

pub fn create_poly_database(&self, name: Option<&str>) -> Result<PolyDatabase>[src]

pub fn write_txn(&self) -> Result<RwTxn>[src]

pub fn nested_write_txn<'p>(&self, parent: &'p mut RwTxn) -> Result<RwTxn<'p>>[src]

pub fn read_txn(&self) -> Result<RoTxn>[src]

pub fn copy_to_path<P: AsRef<Path>>(
    &self,
    path: P,
    option: CompactionOption
) -> Result<File>
[src]

pub fn force_sync(&self) -> Result<()>[src]

Trait Implementations

impl Clone for Env[src]

Auto Trait Implementations

impl Send for Env

impl Sync for Env

impl Unpin for Env

impl UnwindSafe for Env

impl RefUnwindSafe for Env

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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