Skip to main content

ExecutableInstructionResult

Type Alias ExecutableInstructionResult 

Source
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§

§1.0.0

Ok(ControlFlow<T, (<I as Instruction>::Reg, <<I as Instruction>::Reg as Register>::Type)>)

Contains the success value

§1.0.0

Err(ExecutionError<<<I as Instruction>::Reg as Register>::Type, CustomError>)

Contains the error value