Enum wasmtime_runtime::Export
source · pub enum Export {
Function(ExportFunction),
Table(ExportTable),
Memory(ExportMemory),
Global(ExportGlobal),
}
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.
Trait Implementations§
source§impl From<ExportFunction> for Export
impl From<ExportFunction> for Export
source§fn from(func: ExportFunction) -> Export
fn from(func: ExportFunction) -> Export
Converts to this type from the input type.
source§impl From<ExportGlobal> for Export
impl From<ExportGlobal> for Export
source§fn from(func: ExportGlobal) -> Export
fn from(func: ExportGlobal) -> Export
Converts to this type from the input type.
source§impl From<ExportMemory> for Export
impl From<ExportMemory> for Export
source§fn from(func: ExportMemory) -> Export
fn from(func: ExportMemory) -> Export
Converts to this type from the input type.
source§impl From<ExportTable> for Export
impl From<ExportTable> for Export
source§fn from(func: ExportTable) -> Export
fn from(func: ExportTable) -> Export
Converts to this type from the input type.