pub enum GroupCommitCertainty {
DefinitelyAborted,
Unknown,
}Expand description
Commit certainty owned by the migration journal layer.
Provider adapters must map absent certainty information to Self::Unknown.
Only an explicit provider proof that commit could not have occurred may map
to Self::DefinitelyAborted.
Variants§
DefinitelyAborted
The provider proves that the group transaction did not commit.
Unknown
The provider cannot determine whether the group transaction committed.
Implementations§
Source§impl GroupCommitCertainty
impl GroupCommitCertainty
Sourcepub const fn journal_event(self) -> GroupJournalEventKind
pub const fn journal_event(self) -> GroupJournalEventKind
Convert certainty into its durable journal event.
Trait Implementations§
Source§impl Clone for GroupCommitCertainty
impl Clone for GroupCommitCertainty
Source§fn clone(&self) -> GroupCommitCertainty
fn clone(&self) -> GroupCommitCertainty
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 GroupCommitCertainty
Source§impl Debug for GroupCommitCertainty
impl Debug for GroupCommitCertainty
impl Eq for GroupCommitCertainty
Source§impl PartialEq for GroupCommitCertainty
impl PartialEq for GroupCommitCertainty
impl StructuralPartialEq for GroupCommitCertainty
Auto Trait Implementations§
impl Freeze for GroupCommitCertainty
impl RefUnwindSafe for GroupCommitCertainty
impl Send for GroupCommitCertainty
impl Sync for GroupCommitCertainty
impl Unpin for GroupCommitCertainty
impl UnsafeUnpin for GroupCommitCertainty
impl UnwindSafe for GroupCommitCertainty
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