[][src]Struct kv::Bucket

pub struct Bucket<'a, K: Key, V: 'a + Value<'a>>(_, _, _);

A Bucket represents a single database, or section of the Store

Methods

impl<'a, K: Key, V: Value<'a>> Bucket<'a, K, V>[src]

pub fn db(&self) -> Database[src]

Provides access to the underlying LMDB dbi handle

Auto Trait Implementations

impl<'a, K, V> Send for Bucket<'a, K, V> where
    K: Send,
    V: Sync

impl<'a, K, V> Unpin for Bucket<'a, K, V> where
    K: Unpin

impl<'a, K, V> Sync for Bucket<'a, K, V> where
    K: Sync,
    V: Sync

impl<'a, K, V> UnwindSafe for Bucket<'a, K, V> where
    K: UnwindSafe,
    V: RefUnwindSafe

impl<'a, K, V> RefUnwindSafe for Bucket<'a, K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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