Struct lmdb::RoCursor

source ·
pub struct RoCursor<'txn> { /* private fields */ }
Expand description

A read-only cursor for navigating the items within a database.

Trait Implementations§

Returns a raw pointer to the underlying LMDB cursor. Read more
Retrieves a key/data pair from the cursor. Depending on the cursor op, the current key may be returned. Read more
Iterate over database items. The iterator will begin with item next after the cursor, and continue until the end of the database. For new cursors, the iterator will begin with the first item in the database. Read more
Iterate over database items starting from the beginning of the database. Read more
Iterate over database items starting from the given key. Read more
Iterate over duplicate database items. The iterator will begin with the item next after the cursor, and continue until the end of the database. Each item will be returned as an iterator of its duplicates. Read more
Iterate over duplicate database items starting from the beginning of the database. Each item will be returned as an iterator of its duplicates. Read more
Iterate over duplicate items in the database starting from the given key. Each item will be returned as an iterator of its duplicates. Read more
Iterate over the duplicates of the item in the database with the given key.
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.