[][src]Enum state_processing::per_block_processing::errors::ExitInvalid

pub enum ExitInvalid {
    NotActive(u64),
    ValidatorUnknown(u64),
    AlreadyExited(u64),
    AlreadyInitiatedExit(u64),
    FutureEpoch {
        state: Epoch,
        exit: Epoch,
    },
    TooYoungToExit {
        current_epoch: Epoch,
        earliest_exit_epoch: Epoch,
    },
    BadSignature,
    SignatureSetError(SignatureSetError),
}

Variants

NotActive(u64)

The specified validator is not active.

ValidatorUnknown(u64)

The specified validator is not in the state's validator registry.

AlreadyExited(u64)

The specified validator has a non-maximum exit epoch.

AlreadyInitiatedExit(u64)

The specified validator has already initiated exit.

FutureEpoch

The exit is for a future epoch.

Fields of FutureEpoch

state: Epochexit: Epoch
TooYoungToExit

The validator has not been active for long enough.

Fields of TooYoungToExit

current_epoch: Epochearliest_exit_epoch: Epoch
BadSignature

The exit signature was not signed by the validator.

SignatureSetError(SignatureSetError)

There was an error whilst attempting to get a set of signatures. The signatures may have been invalid or an internal error occurred.

Trait Implementations

impl PartialEq<ExitInvalid> for ExitInvalid[src]

impl Debug for ExitInvalid[src]

Auto Trait Implementations

impl Send for ExitInvalid

impl Unpin for ExitInvalid

impl Sync for ExitInvalid

impl UnwindSafe for ExitInvalid

impl RefUnwindSafe for ExitInvalid

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,