Enum eetf::EncodeError [] [src]

pub enum EncodeError {
    Io(Error),
    TooLongAtomName(Atom),
    TooLargeInteger(BigInteger),
    TooLargeReferenceId(Reference),
}

Errors which can occur when encoding a term

Variants

Io(Error)TooLongAtomName(Atom)TooLargeInteger(BigInteger)TooLargeReferenceId(Reference)

Trait Implementations

impl Debug for EncodeError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for EncodeError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for EncodeError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl From<Error> for EncodeError
[src]

fn from(err: Error) -> EncodeError

Performs the conversion.