CallResult

Type Alias CallResult 

Source
pub type CallResult<T> = Result<T, CallError>;
Expand description

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

Aliased Type§

pub enum CallResult<T> {
    Ok(T),
    Err(CallError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CallError)

Contains the error value