Enum wasmer::CompileError [−][src]
pub enum CompileError {
Wasm(WasmError),
Codegen(String),
Validate(String),
UnsupportedFeature(String),
UnsupportedTarget(String),
Resource(String),
}
Expand description
The WebAssembly.CompileError object indicates an error during WebAssembly decoding or validation.
This is based on the [Wasm Compile Error][compile-error] API.
Variants
Wasm(WasmError)
Tuple Fields
0: WasmError
A Wasm translation error occured.
Codegen(String)
Tuple Fields
0: String
A compilation error occured.
Validate(String)
Tuple Fields
0: String
The module did not pass validation.
UnsupportedFeature(String)
Tuple Fields
0: String
The compiler doesn’t support a Wasm feature
UnsupportedTarget(String)
Tuple Fields
0: String
The compiler cannot compile for the given target. This can refer to the OS, the chipset or any other aspect of the target system.
Resource(String)
Tuple Fields
0: String
Insufficient resources available for execution.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl UnwindSafe for CompileError
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