Enum ketos::encode::EncodeError [] [src]

pub enum EncodeError {
    Overflow,
    UnencodableType(&'static str),
    UnencodableValue(&'static str),
}

Error in encoding bytecode file format

Variants

Overflow

Integer overflow in encoding value

UnencodableType(&'static str)

Attempt to encode a type that cannot be encoded

UnencodableValue(&'static str)

Attempt to encode a value that cannot be encoded

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.