Trait deq_core::Transaction[][src]

pub trait Transaction: Clone {
    fn begin(&mut self);
fn commit(&mut self) -> Result<(), TransactionError>;
fn revert(&mut self) -> Result<(), TransactionError>;
fn len(&self) -> usize; }
Expand description

Transaction trait

Required methods

begin a transaction

commit a transaction

revert a transaction

amount of open transactions

Implementors