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

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

Trait Implementations

impl<'a> DatabaseReader for BTreeReader<'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.

Auto Trait Implementations

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

impl<'a> Sync for BTreeReader<'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