[][src]Enum wasmer_vm::GlobalError

pub enum GlobalError {
    ImmutableGlobalCannotBeSet,
    IncorrectType {
        expected: Type,
        found: Type,
    },
}

Error type describing things that can go wrong when operating on Wasm Globals.

Variants

ImmutableGlobalCannotBeSet

The error returned when attempting to set an immutable global.

IncorrectType

The error returned when attempting to operate on a global as a specific type that differs from the global's own type.

Fields of IncorrectType

expected: Type

The type that the global is.

found: Type

The type that we were asked to use it as.

Trait Implementations

impl Clone for GlobalError[src]

impl Debug for GlobalError[src]

impl Display for GlobalError[src]

impl Error for GlobalError[src]

impl Hash for GlobalError[src]

impl PartialEq<GlobalError> for GlobalError[src]

impl StructuralPartialEq for GlobalError[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.