Enum parity_wasm::elements::Error [] [src]

pub enum Error {
    UnexpectedEof,
    InconsistentLength {
        expected: usize,
        actual: usize,
    },
    Other(&'static str),
    HeapOther(String),
    UnknownValueType(i8),
    NonUtf8String,
    UnknownExternalKind(u8),
    UnknownInternalKind(u8),
    UnknownOpcode(u8),
}

Deserialization/serialization error

Variants

Unexpected end of input

Inconsistence between declared and actual length

Fields of InconsistentLength

Expected length of the definition

Actual length of the definition

Other static error

Other allocated error

Invalid/unknown value type declaration

Non-utf8 string

Unknown external kind code

Unknown internal kind code

Unknown opcode encountered

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.