pub enum Trap {
Some(u64),
None,
}Expand description
Wether or not a trap occured after executing an instruction.
Variants§
Some(u64)
The instruction trapped, contains the address of the trap handler.
None
The instruction did not trap.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trap
impl RefUnwindSafe for Trap
impl Send for Trap
impl Sync for Trap
impl Unpin for Trap
impl UnwindSafe for Trap
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