Struct sanakirja::Txn[][src]

pub struct Txn<E: Borrow<Env>> { /* fields omitted */ }
Expand description

An immutable transaction.

Implementations

Borrow env

A “raw” version of the root_db method, useful to store things other than databases.

Trait Implementations

Executes the destructor for this type. Read more

Find the appropriate map segment

Reference-counting. Since reference-counts are designed to be storable into B trees by external allocators, pages referenced once aren’t stored, and hence are indistinguishable from pages that are never referenced. The default implementation returns 0. Read more

This is a straightforward implementation of just accessing index n.

The root page of this transaction.

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

Performs the conversion.

Performs the conversion.

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.