[][src]Enum ketos::encode::DecodeError

pub enum DecodeError {
    DivisionByZero,
    EmptyList,
    IncorrectMagicNumber([u8; 4]),
    IncorrectVersion(u32),
    InvalidChar(u32),
    InvalidCodeFlags(u32),
    InvalidName(u32),
    InvalidParamCount,
    InvalidType(u8),
    InvalidUtf8,
    UnbalancedComma,
    UnexpectedEof,
}

Error in decoding bytecode file format

Variants

DivisionByZero

Ratio with zero divisor encountered

EmptyList

Empty list encountered

IncorrectMagicNumber([u8; 4])

Incorrect magic number in file header

IncorrectVersion(u32)

Incorrect version number in file header

InvalidChar(u32)

Invalid unicode character value

InvalidCodeFlags(u32)

Invalid flags in code object

InvalidName(u32)

Invalid name value

InvalidParamCount

Invalid parameter count in code object

InvalidType(u8)

Invalid type value

InvalidUtf8

Invalid UTF-8 in string value

UnbalancedComma

Unbalanced Quasiquote and Comma values

UnexpectedEof

Unexpected end-of-file

Trait Implementations

impl Debug for DecodeError[src]

impl Display for DecodeError[src]

impl From<DecodeError> for Error[src]

impl NameDisplay for DecodeError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,