Enum wasmer_engine::DeserializeError[][src]

pub enum DeserializeError {
    Io(Error),
    Generic(String),
    Incompatible(String),
    CorruptedBinary(String),
    Compiler(CompileError),
}

The Deserialize error can occur when loading a compiled Module from a binary.

Variants

Io(Error)

An IO error

Generic(String)

A generic deserialization error

Incompatible(String)

Incompatible serialized binary

CorruptedBinary(String)

The provided binary is corrupted

Compiler(CompileError)

The binary was valid, but we got an error when trying to allocate the required resources.

Trait Implementations

impl Debug for DeserializeError[src]

impl Display for DeserializeError[src]

impl Error for DeserializeError[src]

impl From<Error> for DeserializeError[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.