pub enum TransactionOutcome {
Committed,
Rejected,
Unknown,
}Expand description
DB owning-driver facts, not an inference from HTTP or connection disposal.
Variants§
Committed
COMMIT acknowledgement was received, even if the client later disconnects.
Rejected
No possible commit was entered. This does not prove rollback acknowledgement.
Unknown
COMMIT may have executed but its acknowledgement is unavailable.
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 moreimpl Copy for TransactionOutcome
Source§impl Debug for TransactionOutcome
impl Debug for TransactionOutcome
impl Eq for TransactionOutcome
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