pub enum FetchInstructionResult<I>where
I: Instruction,{
Instruction(I),
Continue,
Break,
Err(ExecutionError<<<I as Instruction>::Reg as Register>::Type>),
}Expand description
Result of InstructionFetcher::fetch_instruction() call
Variants§
Instruction(I)
Instruction to execute
Continue
Nothing to execute here, carry on from wherever the program counter now points
Break
Stop execution
Err(ExecutionError<<<I as Instruction>::Reg as Register>::Type>)
Fetching failed
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for FetchInstructionResult<I>
impl<I> RefUnwindSafe for FetchInstructionResult<I>
impl<I> Send for FetchInstructionResult<I>
impl<I> Sync for FetchInstructionResult<I>
impl<I> Unpin for FetchInstructionResult<I>
impl<I> UnsafeUnpin for FetchInstructionResult<I>
impl<I> UnwindSafe for FetchInstructionResult<I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more