Struct sanakirja::Txn

source ·
pub struct Txn<'env> { /* private fields */ }
Expand description

An immutable transaction.

Trait Implementations

Executes the destructor for this type. Read more
Iterate over a database, starting at the first value larger than or equal to (key, value) (and at the smallest key, or smallest value if one or both of them is None). Read more
Iterate over a database in the reverse order, starting from the last binding strictly before k (or from the last binding in the table if k.is_none()).
Gets the specified root. At most 508 different roots are allowed.
Get the smallest value associated to key, or returns the given binding if value is Some(..) and is associated to key in the given database. 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.