pub enum TransactionOutcome {
Indeterminate(TransactionOutcomeId),
Committed(TransactionOutcomeId),
Aborted(TransactionOutcomeId),
}Variants§
Implementations§
Source§impl TransactionOutcome
impl TransactionOutcome
pub const fn id(self) -> TransactionOutcomeId
Trait Implementations§
Source§impl Clone for TransactionOutcome
impl Clone for TransactionOutcome
impl Copy for TransactionOutcome
Source§impl Debug for TransactionOutcome
impl Debug for TransactionOutcome
impl Eq for TransactionOutcome
Source§impl From<CommitErrorOutcome> for TransactionOutcome
impl From<CommitErrorOutcome> for TransactionOutcome
Source§fn from(outcome: CommitErrorOutcome) -> Self
fn from(outcome: CommitErrorOutcome) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransactionOutcome
impl PartialEq for TransactionOutcome
impl StructuralPartialEq for TransactionOutcome
Auto Trait Implementations§
impl Freeze for TransactionOutcome
impl RefUnwindSafe for TransactionOutcome
impl Send for TransactionOutcome
impl Sync for TransactionOutcome
impl Unpin for TransactionOutcome
impl UnsafeUnpin for TransactionOutcome
impl UnwindSafe for TransactionOutcome
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