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§
sourcefn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>
fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>
Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.
sourcefn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>
fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>
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§
sourcefn transact(&self) -> Transaction<'_>
fn transact(&self) -> Transaction<'_>
Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.
sourcefn transact_mut(&self) -> TransactionMut<'_>
fn transact_mut(&self) -> TransactionMut<'_>
Creates a transaction used for all kind of block store operations. Transaction cleanups & calling event handles happen when the transaction struct is dropped.