pub struct RwCursor<'txn> { /* fields omitted */ }
A read-write cursor for navigating items within a database.
Puts a key/data pair into the database. The cursor will be positioned at
the new data item, or on failure usually near it.
Deletes the current key/data pair.
WriteFlags::NO_DUP_DATA
may be used to delete all data items for the
current key, if the database was opened with DatabaseFlags::DUP_SORT
.
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.
Executes the destructor for this type. Read more
Formats the value using the given formatter. Read more
type Error = !
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static