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

pub enum BlockOperationError<T> {
    Invalid(T),
    BeaconStateError(BeaconStateError),
    SignatureSetError(SignatureSetError),
    SszTypesError(Error),
}

Variants

Invalid(T)
BeaconStateError(BeaconStateError)
SignatureSetError(SignatureSetError)
SszTypesError(Error)

Methods

impl<T> BlockOperationError<T>[src]

pub fn invalid(reason: T) -> BlockOperationError<T>[src]

Trait Implementations

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<ProposerSlashingInvalid>[src]

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<AttesterSlashingInvalid>[src]

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<IndexedAttestationInvalid>[src]

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<AttestationInvalid>[src]

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<DepositInvalid>[src]

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<ExitInvalid>[src]

impl IntoWithIndex<BlockProcessingError> for BlockOperationError<TransferInvalid>[src]

impl<T: PartialEq> PartialEq<BlockOperationError<T>> for BlockOperationError<T>[src]

impl From<BlockOperationError<HeaderInvalid>> for BlockProcessingError[src]

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

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

impl From<BlockOperationError<IndexedAttestationInvalid>> for BlockOperationError<AttestationInvalid>[src]

impl<T: Debug> Debug for BlockOperationError<T>[src]

Auto Trait Implementations

impl<T> Send for BlockOperationError<T> where
    T: Send

impl<T> Unpin for BlockOperationError<T> where
    T: Unpin

impl<T> Sync for BlockOperationError<T> where
    T: Sync

impl<T> UnwindSafe for BlockOperationError<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for BlockOperationError<T> where
    T: RefUnwindSafe

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