pub trait Commit { fn commit(self) -> Result<(), Error>; }
Transactions that can be committed. This trait is an abstraction over mutable transactions and their subtransactions.
fn commit(self) -> Result<(), Error>
Commit the transaction.
impl<'a, E: Borrow<Env>, T> Commit for MutTxn<E, &'a mut MutTxn<E, T>>
impl<E: Borrow<Env>> Commit for MutTxn<E, ()>