Enum ethcore::error::BlockImportErrorKind []

pub enum BlockImportErrorKind {
    Msg(String),
    Import(ImportErrorKind),
    Block(BlockError),
    Decoder(DecoderError),
    Other(String),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Import error

Block error

Rlp decoding error

Other error

Methods

impl BlockImportErrorKind

A string describing the error kind.

Trait Implementations

impl From<BlockImportErrorKind> for BlockImportError

Performs the conversion.

impl Debug for BlockImportErrorKind

Formats the value using the given formatter. Read more

impl Display for BlockImportErrorKind

Formats the value using the given formatter. Read more

impl From<ImportErrorKind> for BlockImportErrorKind

Import error

Performs the conversion.

impl<'a> From<&'a str> for BlockImportErrorKind

Performs the conversion.

impl From<String> for BlockImportErrorKind

Performs the conversion.

impl From<BlockImportError> for BlockImportErrorKind

Performs the conversion.

Auto Trait Implementations

impl Send for BlockImportErrorKind

impl Sync for BlockImportErrorKind