Trait sanakirja::Commit[][src]

pub trait Commit {
    fn commit(self) -> Result<(), Error>;
}

Transactions that can be committed. This trait is an abstraction over mutable transactions and their subtransactions.

Required methods

fn commit(self) -> Result<(), Error>[src]

Commit the transaction.

Loading content...

Implementors

impl<'a, E: Borrow<Env>, T> Commit for MutTxn<E, &'a mut MutTxn<E, T>>[src]

The following is very easy, we’re just extending all values of the current transaction with values of the subtransaction.

impl<E: Borrow<Env>> Commit for MutTxn<E, ()>[src]

Loading content...