pub enum VpHaltReason {
Stop(VpStopped),
Cancel,
PowerOff,
Reset,
TripleFault {
vtl: Vtl,
},
InvalidVmState(Box<dyn Error + Send + Sync>),
Hypervisor(Box<dyn Error + Send + Sync>),
EmulationFailure(Box<dyn Error + Send + Sync>),
SingleStep,
HwBreak(HardwareBreakpoint),
}
Expand description
The reason that Processor::run_vp
returned.
Variants§
Stop(VpStopped)
The processor was requested to stop.
Cancel
The processor task should be restarted, possibly on a different thread.
PowerOff
The processor initiated a power off.
Reset
The processor initiated a reboot.
TripleFault
The processor triple faulted.
Fields
§
vtl: Vtl
The faulting VTL.
InvalidVmState(Box<dyn Error + Send + Sync>)
The VM’s state (e.g. registers, memory) is invalid.
Hypervisor(Box<dyn Error + Send + Sync>)
The underlying hypervisor failed.
EmulationFailure(Box<dyn Error + Send + Sync>)
Emulation failed.
SingleStep
Debugger single step.
HwBreak(HardwareBreakpoint)
Debugger hardware breakpoint.
Trait Implementations§
Source§impl Debug for VpHaltReason
impl Debug for VpHaltReason
Auto Trait Implementations§
impl Freeze for VpHaltReason
impl !RefUnwindSafe for VpHaltReason
impl Send for VpHaltReason
impl Sync for VpHaltReason
impl Unpin for VpHaltReason
impl !UnwindSafe for VpHaltReason
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