Enum eetf::DecodeError [] [src]

pub enum DecodeError {
    Io(Error),
    UnsupportedVersion {
        version: u8,
    },
    UnknownTag {
        tag: u8,
    },
    UnexpectedType {
        value: Term,
        expected: String,
    },
    OutOfRange {
        value: i32,
        range: Range<i32>,
    },
}

Errors which can occur when decoding a term

Variants

Fields of UnsupportedVersion

Fields of UnknownTag

Fields of UnexpectedType

Fields of OutOfRange

Trait Implementations

impl Debug for DecodeError
[src]

Formats the value using the given formatter.

impl Display for DecodeError
[src]

Formats the value using the given formatter. Read more

impl Error for DecodeError
[src]

A short description of the error. Read more

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

impl From<Error> for DecodeError
[src]

Performs the conversion.