Enum rdcl_aoc_helpers::machine::hook::HookResult
source · pub enum HookResult {
Proceed,
Skip,
Goto(i64),
Abort,
}
Expand description
Allows the hook to influence the rest of the execution of an instruction.
Variants
Proceed
Proceed normally.
Skip
Skip the instruction that was about to be executed.
Goto(i64)
Go to a specific instruction.
Abort
Abort the entire program.
Auto Trait Implementations
impl RefUnwindSafe for HookResult
impl Send for HookResult
impl Sync for HookResult
impl Unpin for HookResult
impl UnwindSafe for HookResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more