wasmer_types::error

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