pub enum FetchInstructionResult<Instruction> {
Instruction(Instruction),
ControlFlow(ControlFlow<()>),
}Expand description
Result of GenericInstructionHandler::fetch_instruction() call
Variants§
Instruction(Instruction)
Instruction fetched successfully
ControlFlow(ControlFlow<()>)
Control flow instruction encountered
Trait Implementations§
Source§impl<Instruction: Clone> Clone for FetchInstructionResult<Instruction>
impl<Instruction: Clone> Clone for FetchInstructionResult<Instruction>
Source§fn clone(&self) -> FetchInstructionResult<Instruction>
fn clone(&self) -> FetchInstructionResult<Instruction>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Instruction: Debug> Debug for FetchInstructionResult<Instruction>
impl<Instruction: Debug> Debug for FetchInstructionResult<Instruction>
impl<Instruction: Copy> Copy for FetchInstructionResult<Instruction>
Auto Trait Implementations§
impl<Instruction> Freeze for FetchInstructionResult<Instruction>where
Instruction: Freeze,
impl<Instruction> RefUnwindSafe for FetchInstructionResult<Instruction>where
Instruction: RefUnwindSafe,
impl<Instruction> Send for FetchInstructionResult<Instruction>where
Instruction: Send,
impl<Instruction> Sync for FetchInstructionResult<Instruction>where
Instruction: Sync,
impl<Instruction> Unpin for FetchInstructionResult<Instruction>where
Instruction: Unpin,
impl<Instruction> UnwindSafe for FetchInstructionResult<Instruction>where
Instruction: UnwindSafe,
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