pub enum TransactionOutcome {
Committed,
RolledBack,
Unknown,
}Expand description
Transaction outcome metadata.
Variants§
Committed
Transaction committed.
RolledBack
Transaction rolled back.
Unknown
Transaction outcome is unknown.
Trait Implementations§
Source§impl Clone for TransactionOutcome
impl Clone for TransactionOutcome
Source§fn clone(&self) -> TransactionOutcome
fn clone(&self) -> TransactionOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransactionOutcome
impl Debug for TransactionOutcome
Source§impl Default for TransactionOutcome
impl Default for TransactionOutcome
Source§fn default() -> TransactionOutcome
fn default() -> TransactionOutcome
Returns the “default value” for a type. Read more
Source§impl Hash for TransactionOutcome
impl Hash for TransactionOutcome
Source§impl Ord for TransactionOutcome
impl Ord for TransactionOutcome
Source§fn cmp(&self, other: &TransactionOutcome) -> Ordering
fn cmp(&self, other: &TransactionOutcome) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransactionOutcome
impl PartialEq for TransactionOutcome
Source§fn eq(&self, other: &TransactionOutcome) -> bool
fn eq(&self, other: &TransactionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TransactionOutcome
impl PartialOrd for TransactionOutcome
impl Copy for TransactionOutcome
impl Eq 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