[][src]Struct transact::database::btree::BTreeWriter

pub struct BTreeWriter<'a> { /* fields omitted */ }

Methods

impl<'a> BTreeWriter<'a>[src]

Trait Implementations

impl<'a> DatabaseReader for BTreeWriter<'a>[src]

fn cursor(&self) -> Result<DatabaseCursor, DatabaseError>[src]

Returns a cursor against the main database. The cursor iterates over the entries in the natural key order.

fn index_cursor(&self, index: &str) -> Result<DatabaseCursor, DatabaseError>[src]

Returns a cursor against the given index. The cursor iterates over the entries in the index's natural key order.

fn count(&self) -> Result<usize, DatabaseError>[src]

Returns the number of entries in the main database.

fn index_count(&self, index: &str) -> Result<usize, DatabaseError>[src]

Returns the number of entries in the given index

impl<'a> DatabaseWriter for BTreeWriter<'a>[src]

Auto Trait Implementations

impl<'a> !Send for BTreeWriter<'a>

impl<'a> Sync for BTreeWriter<'a>

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]

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self