pub enum VpHaltReason<E = Error> {
Stop(VpStopped),
Cancel,
PowerOff,
Reset,
TripleFault {
vtl: Vtl,
},
InvalidVmState(E),
EmulationFailure(Box<dyn Error + Send + Sync>),
Hypervisor(E),
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.
InvalidVmState(E)
The VM’s state (e.g. registers, memory) is invalid.
EmulationFailure(Box<dyn Error + Send + Sync>)
Emulation failed.
Hypervisor(E)
The underlying hypervisor failed.
SingleStep
Debugger single step.
HwBreak(HardwareBreakpoint)
Debugger hardware breakpoint.
Trait Implementations§
Source§impl<E: Debug> Debug for VpHaltReason<E>
impl<E: Debug> Debug for VpHaltReason<E>
Auto Trait Implementations§
impl<E> Freeze for VpHaltReason<E>where
E: Freeze,
impl<E = Error> !RefUnwindSafe for VpHaltReason<E>
impl<E> Send for VpHaltReason<E>where
E: Send,
impl<E> Sync for VpHaltReason<E>where
E: Sync,
impl<E> Unpin for VpHaltReason<E>where
E: Unpin,
impl<E = Error> !UnwindSafe for VpHaltReason<E>
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