Enum wasmer_near::InstantiationError [−][src]
pub enum InstantiationError {
Link(LinkError),
Start(RuntimeError),
HostEnvInitialization(HostEnvInitError),
}
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), a
Trap that occurs when calling the WebAssembly module
start function, and an error when initializing the user’s
host environments.
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
HostEnvInitialization(HostEnvInitError)
Error occurred when initializing the host environment.
Tuple Fields of HostEnvInitialization
Trait Implementations
Performs the conversion.
Performs the conversion.
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