Enum wasmer_engine_near::InstantiationError [−][src]
pub enum InstantiationError {
Link(LinkError),
Start(RuntimeError),
}
Expand description
An error while instantiating a module.
This is not a common WebAssembly error, however
we need to differentiate from a LinkError
(an error
that happens while linking, on instantiation) and a
Trap that occurs when calling the WebAssembly module
start function.
Variants
Link(LinkError)
A linking ocurred during instantiation.
Tuple Fields of Link
0: LinkError
Start(RuntimeError)
A runtime error occured while invoking the start function
Tuple Fields of Start
0: RuntimeError
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InstantiationError
impl Send for InstantiationError
impl Sync for InstantiationError
impl Unpin for InstantiationError
impl !UnwindSafe for InstantiationError
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