pub enum ParticipantStateCorruptReason {
DuplicateCandidateKey {
transaction_order: TransactionOrder,
candidate_phase: CandidatePhase,
participant_index: ParticipantIndex,
},
ClaimFrontierInvalid {
counter: ClaimCounter,
first_bad_position: u128,
},
}Expand description
Exact retained-state corruption reasons that remain after Fix 2.
docs/design/LP-EXTRACTION-GOAL.md Fix 2 removes fixed occurrence slots,
so occurrence-array placement, churn-block, duplicate-successor, and
unbacked-occurrence reasons are intentionally not constructible here.
Variants§
DuplicateCandidateKey
Two live candidates share one complete ordering key.
Fields
§
transaction_order: TransactionOrderCandidate transaction-order major.
§
candidate_phase: CandidatePhaseCandidate phase within the major.
§
participant_index: ParticipantIndexPermanent participant-index tie-breaker.
ClaimFrontierInvalid
Numeric or logical movable-claim frontier is malformed.
Fields
§
counter: ClaimCounterFirst counter in fixed validation order that failed.
Trait Implementations§
Source§impl Clone for ParticipantStateCorruptReason
impl Clone for ParticipantStateCorruptReason
Source§fn clone(&self) -> ParticipantStateCorruptReason
fn clone(&self) -> ParticipantStateCorruptReason
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 ParticipantStateCorruptReason
impl Eq for ParticipantStateCorruptReason
impl StructuralPartialEq for ParticipantStateCorruptReason
Auto Trait Implementations§
impl Freeze for ParticipantStateCorruptReason
impl RefUnwindSafe for ParticipantStateCorruptReason
impl Send for ParticipantStateCorruptReason
impl Sync for ParticipantStateCorruptReason
impl Unpin for ParticipantStateCorruptReason
impl UnsafeUnpin for ParticipantStateCorruptReason
impl UnwindSafe for ParticipantStateCorruptReason
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