Enum TransactionOutcome
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§
§impl Clone for TransactionOutcome
impl Clone for TransactionOutcome
§fn clone(&self) -> TransactionOutcome
fn clone(&self) -> TransactionOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TransactionOutcome
impl Debug for TransactionOutcome
§impl Default for TransactionOutcome
impl Default for TransactionOutcome
§fn default() -> TransactionOutcome
fn default() -> TransactionOutcome
Returns the “default value” for a type. Read more
§impl Hash for TransactionOutcome
impl Hash for TransactionOutcome
§impl Ord for TransactionOutcome
impl Ord for TransactionOutcome
§fn cmp(&self, other: &TransactionOutcome) -> Ordering
fn cmp(&self, other: &TransactionOutcome) -> Ordering
1.21.0 · 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
§impl PartialEq for TransactionOutcome
impl PartialEq for TransactionOutcome
§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