pub enum XactState {
InProgress,
Committed,
Aborted,
}Expand description
The state of a transaction for pg_xact_status, as TransactionIdIsInProgress and TransactionIdDidCommit give it.
Variants§
InProgress
The transaction did not end.
Committed
The transaction committed.
Aborted
The transaction aborted, or its session ended before it committed.
Trait Implementations§
impl Copy for XactState
impl Eq for XactState
impl StructuralPartialEq for XactState
Auto Trait Implementations§
impl Freeze for XactState
impl RefUnwindSafe for XactState
impl Send for XactState
impl Sync for XactState
impl Unpin for XactState
impl UnsafeUnpin for XactState
impl UnwindSafe for XactState
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