fuel_vm::error

Type Alias IoResult

source
pub type IoResult<T, S> = Result<T, RuntimeError<S>>;
Expand description

Result of a operation that accesses storage

Aliased Type§

enum IoResult<T, S> {
    Ok(T),
    Err(RuntimeError<S>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RuntimeError<S>)

Contains the error value