Enum wasmer_vm::VMExtern [−][src]
pub enum VMExtern {
Function(VMFunction),
Table(VMTable),
Memory(VMMemory),
Global(VMGlobal),
}
Expand description
The value of an export passed from one instance to another.
Variants
Function(VMFunction)
Tuple Fields
0: VMFunction
A function export value.
Table(VMTable)
Tuple Fields
0: VMTable
A table export value.
Memory(VMMemory)
Tuple Fields
0: VMMemory
A memory export value.
Global(VMGlobal)
Tuple Fields
0: VMGlobal
A global export value.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for VMExtern
impl !UnwindSafe for VMExtern
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer