pub struct Txn<E: Borrow<Env>> { /* fields omitted */ }
Expand description
An immutable transaction.
A “raw” version of the root_db
method, useful to store
things other than databases.
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.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.