Enum esvm_rlp::DecoderError [] [src]

pub enum DecoderError {
    RlpIsTooBig,
    RlpIsTooShort,
    RlpExpectedToBeList,
    RlpExpectedToBeData,
    RlpIncorrectListLen,
    RlpDataLenWithZeroPrefix,
    RlpListLenWithZeroPrefix,
    RlpInvalidIndirection,
    RlpInconsistentLengthAndData,
    Custom(&'static str),
}

Error concerning the RLP decoder.

Variants

Data has additional bytes at the end of the valid RLP fragment.

Data has too few bytes for valid RLP.

Expect an encoded list, RLP was something else.

Expect encoded data, RLP was something else.

Expected a different size list.

Data length number has a prefixed zero byte, invalid for numbers.

List length number has a prefixed zero byte, invalid for numbers.

Non-canonical (longer than necessary) representation used for data or list.

Declared length is inconsistent with data specified after.

Custom rlp decoding error.

Trait Implementations

impl Debug for DecoderError
[src]

Formats the value using the given formatter.

impl PartialEq for DecoderError
[src]

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

This method tests for !=.

impl Eq for DecoderError
[src]

impl StdError for DecoderError
[src]

A short description of the error. Read more

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

impl Display for DecoderError
[src]

Formats the value using the given formatter. Read more