[−][src]Struct rkv::backend::LmdbEnvironment
Trait Implementations
impl<'e> BackendEnvironment<'e> for EnvironmentImpl
[src]
type Database = DatabaseImpl
type Error = ErrorImpl
type Flags = DatabaseFlagsImpl
type Info = InfoImpl
type RoTransaction = RoTransactionImpl<'e>
type RwTransaction = RwTransactionImpl<'e>
type Stat = StatImpl
fn get_dbs(&self) -> Result<Vec<Option<String>>, Self::Error>
[src]
fn open_db(&self, name: Option<&str>) -> Result<Self::Database, Self::Error>
[src]
fn create_db(
&self,
name: Option<&str>,
flags: Self::Flags
) -> Result<Self::Database, Self::Error>
[src]
&self,
name: Option<&str>,
flags: Self::Flags
) -> Result<Self::Database, Self::Error>
fn begin_ro_txn(&'e self) -> Result<Self::RoTransaction, Self::Error>
[src]
fn begin_rw_txn(&'e self) -> Result<Self::RwTransaction, Self::Error>
[src]
fn sync(&self, force: bool) -> Result<(), Self::Error>
[src]
fn stat(&self) -> Result<Self::Stat, Self::Error>
[src]
fn info(&self) -> Result<Self::Info, Self::Error>
[src]
fn freelist(&self) -> Result<usize, Self::Error>
[src]
fn load_ratio(&self) -> Result<Option<f32>, Self::Error>
[src]
fn set_map_size(&self, size: usize) -> Result<(), Self::Error>
[src]
fn get_files_on_disk(&self) -> Vec<PathBuf>
[src]
impl Debug for EnvironmentImpl
[src]
Auto Trait Implementations
impl RefUnwindSafe for EnvironmentImpl
impl Send for EnvironmentImpl
impl Sync for EnvironmentImpl
impl Unpin for EnvironmentImpl
impl UnwindSafe for EnvironmentImpl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,