pub enum TxnFailureRollback {
NoneByRolledBack,
NoneByNotRolledBack,
RollbackFailure(Err),
}Expand description
Represents the rollback status of a data connection in a failed transaction.
Variants§
NoneByRolledBack
The rollback was executed and succeeded.
NoneByNotRolledBack
Rollback was not executed or not applicable (e.g., because the connection was already committed).
RollbackFailure(Err)
The rollback was executed but failed.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TxnFailureRollback
impl Freeze for TxnFailureRollback
impl Send for TxnFailureRollback
impl Sync for TxnFailureRollback
impl Unpin for TxnFailureRollback
impl UnsafeUnpin for TxnFailureRollback
impl UnwindSafe for TxnFailureRollback
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