[][src]Enum wasmer_runtime::error::Error

pub enum Error {
    CompileError(CompileError),
    LinkError(Vec<LinkError>),
    RuntimeError(RuntimeError),
    ResolveError(ResolveError),
    CallError(CallError),
    CreationError(CreationError),
}

The amalgamation of all errors that can occur during the compilation, instantiation, or execution of a WebAssembly module.

Comparing two Errors always evaluates to false.

Variants

CompileError(CompileError)LinkError(Vec<LinkError>)RuntimeError(RuntimeError)ResolveError(ResolveError)CallError(CallError)CreationError(CreationError)

Trait Implementations

impl PartialEq<Error> for Error[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Error for Error[src]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

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

impl Debug for Error[src]

impl Display for Error[src]

impl From<CompileError> for Error[src]

impl From<RuntimeError> for Error[src]

impl From<CallError> for Error[src]

impl From<Vec<LinkError>> for Error[src]

impl From<ResolveError> for Error[src]

impl From<CreationError> for Error[src]

Auto Trait Implementations

impl Unpin for Error

impl !Sync for Error

impl !Send for Error

impl !RefUnwindSafe for Error

impl !UnwindSafe for Error

Blanket Implementations

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T