[][src]Enum wasmtime_runtime::Export

pub enum Export<'a> {
    Function(ExportFunction),
    Table(ExportTable),
    Memory(ExportMemory),
    Global(ExportGlobal),
    Instance(&'a InstanceHandle),
    Module(&'a dyn Any),
}

The value of an export passed from one instance to another.

Variants

Function(ExportFunction)

A function export value.

A table export value.

Memory(ExportMemory)

A memory export value.

Global(ExportGlobal)

A global export value.

Instance(&'a InstanceHandle)

An instance

Module(&'a dyn Any)

A module

Trait Implementations

impl<'a> From<ExportFunction> for Export<'a>[src]

impl<'a> From<ExportGlobal> for Export<'a>[src]

impl<'a> From<ExportMemory> for Export<'a>[src]

impl<'a> From<ExportTable> for Export<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Export<'a>[src]

impl<'a> !Send for Export<'a>[src]

impl<'a> !Sync for Export<'a>[src]

impl<'a> Unpin for Export<'a>[src]

impl<'a> !UnwindSafe for Export<'a>[src]

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, 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.