Enum ethcore_light::on_demand::request::Error [] [src]

pub enum Error {
    Decoder(DecoderError),
    Trie(TrieError),
    BadProof,
    WrongNumber(u64u64),
    WrongHash(H256H256),
    WrongTrieRoot(H256H256),
}

Errors in verification.

Variants

RLP decoder error.

Trie lookup error (result of bad proof)

Bad inclusion proof

Wrong header number.

Wrong header hash.

Wrong trie root.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<DecoderError> for Error
[src]

Performs the conversion.

impl From<Box<TrieError>> for Error
[src]

Performs the conversion.