#[repr(u8)]pub enum CandidatePhase {
BindingTerminal = 0,
MembershipExit = 1,
AttachLifecycle = 2,
OrdinaryRecord = 3,
CompactionMarker = 4,
}Expand description
Canonical candidate phase in transaction ordering.
Variants§
BindingTerminal = 0
Pending or direct binding terminal.
MembershipExit = 1
Membership exit record.
AttachLifecycle = 2
Attached lifecycle record.
OrdinaryRecord = 3
Admitted ordinary application record.
CompactionMarker = 4
Induced history-compaction marker.
Trait Implementations§
Source§impl Clone for CandidatePhase
impl Clone for CandidatePhase
Source§fn clone(&self) -> CandidatePhase
fn clone(&self) -> CandidatePhase
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 CandidatePhase
Source§impl Debug for CandidatePhase
impl Debug for CandidatePhase
impl Eq for CandidatePhase
Source§impl Ord for CandidatePhase
impl Ord for CandidatePhase
Source§fn cmp(&self, other: &CandidatePhase) -> Ordering
fn cmp(&self, other: &CandidatePhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CandidatePhase
impl PartialEq for CandidatePhase
Source§impl PartialOrd for CandidatePhase
impl PartialOrd for CandidatePhase
impl StructuralPartialEq for CandidatePhase
Auto Trait Implementations§
impl Freeze for CandidatePhase
impl RefUnwindSafe for CandidatePhase
impl Send for CandidatePhase
impl Sync for CandidatePhase
impl Unpin for CandidatePhase
impl UnsafeUnpin for CandidatePhase
impl UnwindSafe for CandidatePhase
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