Enum wasmer_compiler::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
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.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more