Enum ethcore::error::ImportErrorKind []

pub enum ImportErrorKind {
    Msg(String),
    AlreadyInChain,
    AlreadyQueued,
    KnownBad,
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Already in the block chain.

Already in the block queue

Already marked as bad from a previous import (could mean parent is bad).

Methods

impl ImportErrorKind

A string describing the error kind.

Trait Implementations

impl From<ImportErrorKind> for ImportError

Performs the conversion.

impl Debug for ImportErrorKind

Formats the value using the given formatter. Read more

impl Display for ImportErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for ImportErrorKind

Performs the conversion.

impl From<ImportError> for ImportErrorKind

Performs the conversion.

impl From<ImportErrorKind> for BlockImportErrorKind

Import error

Performs the conversion.

impl From<ImportErrorKind> for ErrorKind

Error concerning block import.

Performs the conversion.

Auto Trait Implementations

impl Send for ImportErrorKind

impl Sync for ImportErrorKind