#[non_exhaustive]pub enum ValidatorStatus {
PendingRegister,
Active,
ExitingVoluntary,
ExitingForced,
Exited,
WithdrawalPending,
Withdrawn,
}Expand description
Validator lifecycle state.
Values match the state machine in
docs/superpowers/specs/2026-04-20-validator-lifecycle-checkpoint-gated-design.md
and pair with the ValidatorSummary struct below.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PendingRegister
Validator has an L1 registration coin but is not yet in the VMR.
Active
Validator is in the current checkpoint’s VMR and may sign.
ExitingVoluntary
Validator submitted a voluntary-exit signal; waiting for next checkpoint.
ExitingForced
Validator force-exited by L2 (inactivity / slashing / governance).
Exited
Validator’s exit was committed to an exit-ledger leaf.
WithdrawalPending
Registration coin was spent to a withdraw-delay coin; waiting for delay.
Withdrawn
Withdraw-delay coin was released; collateral paid out.
Trait Implementations§
Source§impl Clone for ValidatorStatus
impl Clone for ValidatorStatus
Source§fn clone(&self) -> ValidatorStatus
fn clone(&self) -> ValidatorStatus
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 ValidatorStatus
impl Debug for ValidatorStatus
Source§impl<'de> Deserialize<'de> for ValidatorStatus
impl<'de> Deserialize<'de> for ValidatorStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ValidatorStatus
impl PartialEq for ValidatorStatus
Source§impl Serialize for ValidatorStatus
impl Serialize for ValidatorStatus
impl Copy for ValidatorStatus
impl Eq for ValidatorStatus
impl StructuralPartialEq for ValidatorStatus
Auto Trait Implementations§
impl Freeze for ValidatorStatus
impl RefUnwindSafe for ValidatorStatus
impl Send for ValidatorStatus
impl Sync for ValidatorStatus
impl Unpin for ValidatorStatus
impl UnsafeUnpin for ValidatorStatus
impl UnwindSafe for ValidatorStatus
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