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.
Auto Trait Implementations§
impl Freeze for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnwindSafe for Export
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more