[][src]Enum wasmtime_jit::ActionError

pub enum ActionError {
    Setup(SetupError),
    Field(String),
    Kind(String),
    Type(String),
}

An error detected while invoking a wasm function or reading a wasm global. Note that at this level, traps are not reported errors, but are rather returned through ActionOutcome.

Variants

Setup(SetupError)

An internal implementation error occurred.

Field(String)

No field with the specified name was present.

Kind(String)

The field was present but was the wrong kind (eg. function, table, global, or memory).

Type(String)

The field was present but was the wrong type (eg. i32, i64, f32, or f64).

Trait Implementations

impl Debug for ActionError[src]

impl Display for ActionError[src]

impl Error for ActionError[src]

impl From<ActionError> for ContextError[src]

impl From<SetupError> for ActionError[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> Same<T> for T

type Output = T

Should always be Self

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.