Trait yrs::Transact

source ·
pub trait Transact {
    fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
    fn try_transact_mut(
        &self
    ) -> Result<TransactionMut<'_>, TransactionAcqError>; fn transact(&self) -> Transaction<'_> { ... } fn transact_mut(&self) -> TransactionMut<'_> { ... } }

Required Methods§

Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.

Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.

Provided Methods§

Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.

Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.

Implementors§