cranelift_wasm

Type Alias WasmResult

source
pub type WasmResult<T> = Result<T, WasmError>;
Expand description

A convenient alias for a Result that uses WasmError as the error type.

Aliased Type§

enum WasmResult<T> {
    Ok(T),
    Err(WasmError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(WasmError)

Contains the error value