Enum wasmtime_runtime::Export
source · [−]pub enum Export<'a> {
Function(ExportFunction),
Table(ExportTable),
Memory(ExportMemory),
Global(ExportGlobal),
Instance(&'a InstanceHandle),
Module(&'a dyn Any),
}
Expand description
The value of an export passed from one instance to another.
Variants
Function(ExportFunction)
A function export value.
Table(ExportTable)
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
sourceimpl<'a> From<ExportFunction> for Export<'a>
impl<'a> From<ExportFunction> for Export<'a>
sourcefn from(func: ExportFunction) -> Export<'a>
fn from(func: ExportFunction) -> Export<'a>
Performs the conversion.
sourceimpl<'a> From<ExportGlobal> for Export<'a>
impl<'a> From<ExportGlobal> for Export<'a>
sourcefn from(func: ExportGlobal) -> Export<'a>
fn from(func: ExportGlobal) -> Export<'a>
Performs the conversion.
sourceimpl<'a> From<ExportMemory> for Export<'a>
impl<'a> From<ExportMemory> for Export<'a>
sourcefn from(func: ExportMemory) -> Export<'a>
fn from(func: ExportMemory) -> Export<'a>
Performs the conversion.
sourceimpl<'a> From<ExportTable> for Export<'a>
impl<'a> From<ExportTable> for Export<'a>
sourcefn from(func: ExportTable) -> Export<'a>
fn from(func: ExportTable) -> Export<'a>
Performs the conversion.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Export<'a>
impl<'a> !Send for Export<'a>
impl<'a> !Sync for Export<'a>
impl<'a> Unpin for Export<'a>
impl<'a> !UnwindSafe for Export<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more