pub enum VmExit {
InstructionLimit,
Breakpoint(u64),
Fault(MemFault),
Unlifted {
addr: u64,
error: CodeError,
},
Error(Box<str>),
}Expand description
Why the machine stopped.
Variants§
InstructionLimit
The step budget ran out. The machine is resumable.
Breakpoint(u64)
Execution reached an address with a breakpoint on it. The breakpoint instruction has not been executed.
Fault(MemFault)
A memory access failed.
Unlifted
Code at this address could not be lifted.
Error(Box<str>)
The interpreter reported something the VM does not model as a guest event — an unsupported p-code op, a malformed block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmExit
impl RefUnwindSafe for VmExit
impl Send for VmExit
impl Sync for VmExit
impl Unpin for VmExit
impl UnsafeUnpin for VmExit
impl UnwindSafe for VmExit
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