pub type ExecutableInstructionResult<T, I, CustomError> = Result<ControlFlow<T, (<I as Instruction>::Reg, <<I as Instruction>::Reg as Register>::Type)>, ExecutionError<<<I as Instruction>::Reg as Register>::Type, CustomError>>;Expand description
Type alias for the result returned by ExecutableInstruction::execute
Aliased Type§
pub enum ExecutableInstructionResult<T, I, CustomError> {
Ok(ControlFlow<T, (<I as Instruction>::Reg, <<I as Instruction>::Reg as Register>::Type)>),
Err(ExecutionError<<<I as Instruction>::Reg as Register>::Type, CustomError>),
}Variants§
Ok(ControlFlow<T, (<I as Instruction>::Reg, <<I as Instruction>::Reg as Register>::Type)>)
Contains the success value
Err(ExecutionError<<<I as Instruction>::Reg as Register>::Type, CustomError>)
Contains the error value