[][src]Enum beacon_chain::AttestationProcessingOutcome

pub enum AttestationProcessingOutcome {
    Processed,
    UnknownHeadBlock {
        beacon_block_root: Hash256,
    },
    AttestsToFutureState {
        state: Slot,
        attestation: Slot,
    },
    FinalizedSlot {
        attestation: Epoch,
        finalized: Epoch,
    },
    Invalid(AttestationValidationError),
}

Variants

Processed
UnknownHeadBlock

Fields of UnknownHeadBlock

beacon_block_root: Hash256
AttestsToFutureState

The attestation is attesting to a state that is later than itself. (Viz., attesting to the future).

Fields of AttestsToFutureState

state: Slotattestation: Slot
FinalizedSlot

The slot is finalized, no need to import.

Fields of FinalizedSlot

attestation: Epochfinalized: Epoch
Invalid(AttestationValidationError)

Trait Implementations

impl PartialEq<AttestationProcessingOutcome> for AttestationProcessingOutcome[src]

impl Debug for AttestationProcessingOutcome[src]

Auto Trait Implementations

impl Send for AttestationProcessingOutcome

impl Unpin for AttestationProcessingOutcome

impl Sync for AttestationProcessingOutcome

impl UnwindSafe for AttestationProcessingOutcome

impl RefUnwindSafe for AttestationProcessingOutcome

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>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Erased for T