pub struct TransactionHandle { /* private fields */ }Expand description
Handle for managing a transaction’s lifecycle
Implementations§
Source§impl TransactionHandle
impl TransactionHandle
Sourcepub fn new(mode: TransactionMode) -> Self
pub fn new(mode: TransactionMode) -> Self
Create a new transaction handle
Sourcepub fn transaction(&self) -> &Transaction
pub fn transaction(&self) -> &Transaction
Get reference to the underlying transaction