[][src]Enum sc_consensus_manual_seal::Error

pub enum Error {
    BlockImportError(ImportResult),
    EmptyTransactionPool,
    ConsensusError(ConsensusError),
    InherentError(InherentsError),
    BlockchainError(BlockchainError),
    BlockNotFound(String),
    StringError(String),
    Canceled(Canceled),
    SendError(SendError),
    Other(Box<dyn Error + Send>),
}

errors encountered by background block authorship task

Variants

BlockImportError(ImportResult)

An error occurred while importing the block

EmptyTransactionPool

Transaction pool is empty, cannot create a block

ConsensusError(ConsensusError)

encountered during creation of Proposer.

InherentError(InherentsError)

Failed to create Inherents data

BlockchainError(BlockchainError)

error encountered during finalization

BlockNotFound(String)

Supplied parent_hash doesn't exist in chain

StringError(String)

Some string error

Canceled(Canceled)

send error

SendError(SendError)

send error

Other(Box<dyn Error + Send>)

Some other error.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl From<()> for Error[src]

impl From<Box<dyn Error + 'static + Send>> for Error[src]

impl From<Canceled> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<ImportResult> for Error[src]

impl From<SendError> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl !Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

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

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

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

impl<T> CheckedConversion for T[src]

impl<T> Error for T where
    T: 'static + Send + Debug + Display

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

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

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDisplay for T where
    T: Display

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> ToString for T where
    T: Display + ?Sized
[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<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

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