pub type InstructionExecResult<T = (), E = InstructionResult> = Result<T, E>;Expand description
Result type returned by instruction implementations.
Ok(()) means the instruction completed normally and execution should continue.
Err(result) means execution should halt with the given InstructionResult.
Aliased Type§
pub enum InstructionExecResult<T = (), E = InstructionResult> {
Ok(T),
Err(E),
}