Enum wasmer::LinkError [−][src]
pub enum LinkError {
Import(String, String, ImportError),
Trap(RuntimeError),
Resource(String),
}
Expand description
The WebAssembly.LinkError object indicates an error during module instantiation (besides traps from the start function).
This is based on the link error API.
Variants
Import(String, String, ImportError)
An error occurred when checking the import types.
Trap(RuntimeError)
Tuple Fields
0: RuntimeError
A trap ocurred during linking.
Resource(String)
Tuple Fields
0: String
Insufficient resources available for linking.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LinkError
impl !UnwindSafe for LinkError
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 vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more