pub enum CommitRecovery {
AlreadyCommitted,
FinalizedMainRef,
NotCommitted,
}Expand description
Recovery result for a partially-applied commit phase.
Variants§
AlreadyCommitted
Both refs already point at the candidate commit.
FinalizedMainRef
Epoch ref was moved and main ref was finalized during recovery.
NotCommitted
Neither ref moved yet.
Trait Implementations§
Source§impl Clone for CommitRecovery
impl Clone for CommitRecovery
Source§fn clone(&self) -> CommitRecovery
fn clone(&self) -> CommitRecovery
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 moreSource§impl Debug for CommitRecovery
impl Debug for CommitRecovery
Source§impl PartialEq for CommitRecovery
impl PartialEq for CommitRecovery
impl Copy for CommitRecovery
impl Eq for CommitRecovery
impl StructuralPartialEq for CommitRecovery
Auto Trait Implementations§
impl Freeze for CommitRecovery
impl RefUnwindSafe for CommitRecovery
impl Send for CommitRecovery
impl Sync for CommitRecovery
impl Unpin for CommitRecovery
impl UnsafeUnpin for CommitRecovery
impl UnwindSafe for CommitRecovery
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.