pub type InstructionResult<T> = Result<T, InstructionError>;
Expand description

A type alias for instruction’s results.

Aliased Type§

enum InstructionResult<T> {
    Ok(T),
    Err(InstructionError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(InstructionError)

Contains the error value