Struct ethcore::error::BlockImportError []

pub struct BlockImportError(pub BlockImportErrorKind, _);

The Error type.

This tuple struct is made of two elements:

Methods

impl BlockImportError

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Construct a chained error from another boxed error and a kind, and generates a backtrace

Returns the kind of the error.

Important traits for Iter<'a>

Iterates over the error chain.

Returns the backtrace associated with this error.

Extends the error chain with a new entry.

Methods from Deref<Target = BlockImportErrorKind>

A string describing the error kind.

Trait Implementations

impl Debug for BlockImportError

Formats the value using the given formatter. Read more

impl ChainedError for BlockImportError

Associated kind type.

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Important traits for Iter<'a>

Iterates over the error chain.

Extends the error chain with a new entry.

Returns the backtrace associated with this error.

Returns an object which implements Display for printing the full context of this error. Read more

impl Error for BlockImportError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for BlockImportError

Formats the value using the given formatter. Read more

impl From<ImportError> for BlockImportError

Import error

Performs the conversion.

impl From<BlockError> for BlockImportError

Block error

Performs the conversion.

impl From<DecoderError> for BlockImportError

Rlp decoding error

Performs the conversion.

impl From<BlockImportErrorKind> for BlockImportError

Performs the conversion.

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

Performs the conversion.

impl From<String> for BlockImportError

Performs the conversion.

impl Deref for BlockImportError

The resulting type after dereferencing.

Dereferences the value.

impl From<BlockImportError> for BlockImportErrorKind

Performs the conversion.

impl From<Error> for BlockImportError
[src]

Performs the conversion.

impl From<BlockImportError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BlockImportError

impl !Sync for BlockImportError