Trait casper_execution_engine::storage::transaction_source::Transaction [−][src]
pub trait Transaction: Sized {
type Error;
type Handle;
fn commit(self) -> Result<(), Self::Error>;
fn abort(self) { ... }
}
Expand description
A transaction which can be committed or aborted.
Associated Types
An error which can occur while reading or writing during a transaction, or committing the transaction.