Enum wasmer_near::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)
A Wasm translation error occured.
Tuple Fields of Wasm
0: WasmError
Codegen(String)
A compilation error occured.
Tuple Fields of Codegen
0: String
Validate(String)
The module did not pass validation.
Tuple Fields of Validate
0: String
UnsupportedFeature(String)
The compiler doesn’t support a Wasm feature
Tuple Fields of UnsupportedFeature
0: String
UnsupportedTarget(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.
Tuple Fields of UnsupportedTarget
0: String
Resource(String)
Insufficient resources available for execution.
Tuple Fields of Resource
0: String
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