pub enum OutcomeKind {
Committed(u64),
Aborted,
}Expand description
Terminal status of a commit key, as stored durably.
Variants§
Committed(u64)
The commit succeeded at the given commit index.
Aborted
The commit was terminally aborted and must not be retried under the same commit key.
Trait Implementations§
Source§impl Clone for OutcomeKind
impl Clone for OutcomeKind
impl Copy for OutcomeKind
Source§impl Debug for OutcomeKind
impl Debug for OutcomeKind
impl Eq for OutcomeKind
Source§impl PartialEq for OutcomeKind
impl PartialEq for OutcomeKind
impl StructuralPartialEq for OutcomeKind
Auto Trait Implementations§
impl Freeze for OutcomeKind
impl RefUnwindSafe for OutcomeKind
impl Send for OutcomeKind
impl Sync for OutcomeKind
impl Unpin for OutcomeKind
impl UnsafeUnpin for OutcomeKind
impl UnwindSafe for OutcomeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.