pub struct Cursor<'txn> { /* private fields */ }

Implementations

Moves cursor to first entry

Moves cursor to last entry

Moves cursor to first entry for key if it exists

Moves cursor to first entry for key greater than or equal to ke

Moves cursor to specific item (for example, if cursor already points to a correct key and you need to delete a specific item through cursor)

Moves cursor to nearest item.

Moves cursor to next key, i.e. skip items with duplicate keys

Moves cursor to next item with the same key as current

Moves cursor to prev entry, i.e. skips items with duplicate keys

Moves cursor to prev item with the same key as current

Moves cursor to first item with the same key as current

Moves cursor to last item with the same key as current

Retrieves current key/value as tuple

Retrieves current value

Retrieves current key

Overwrites value for current item Note: overwrites max cur_value.len() bytes

Adds a new item when created with allowed duplicates

Deletes current key

Deletes only current item

Note that it doesn’t check anything so it is caller responsibility to make sure that correct item is deleted if, for example, caller wants to delete only items of current key

Deletes all items with same key as current

Returns count of items with the same key as current

Trait Implementations

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.