pub struct TransactionCancelled { /* private fields */ }
Expand description
A cancelled transaction
Implementations§
Source§impl TransactionCancelled
impl TransactionCancelled
Sourcepub fn reset(self) -> Transaction
pub fn reset(self) -> Transaction
Reset the transaction to its initial state.
This is similar to dropping the transaction and creating a new one.
Trait Implementations§
Source§impl Debug for TransactionCancelled
impl Debug for TransactionCancelled
Source§impl From<TransactionCancelled> for Transaction
impl From<TransactionCancelled> for Transaction
Source§fn from(tc: TransactionCancelled) -> Transaction
fn from(tc: TransactionCancelled) -> Transaction
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionCancelled
impl RefUnwindSafe for TransactionCancelled
impl Send for TransactionCancelled
impl Sync for TransactionCancelled
impl Unpin for TransactionCancelled
impl UnwindSafe for TransactionCancelled
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more