RuntimeResult

Type Alias RuntimeResult 

Source
pub type RuntimeResult<T> = Result<T, RuntimeError>;
Expand description

Result of an attempt to run the provided WebAssembly instance. Aliases the standard Result with RuntimeError as the default error type.

Aliased Type§

pub enum RuntimeResult<T> {
    Ok(T),
    Err(RuntimeError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RuntimeError)

Contains the error value