pub enum VmRunMode {
Running,
Suspending,
Exiting,
Breakpoint,
}Expand description
Mode of execution for the VM.
Variants§
Running
The default run mode indicating the VCPUs are running.
Suspending
Indicates that the VCPUs are suspending execution until the Running mode is set.
Exiting
Indicates that the VM is exiting all processes.
Breakpoint
Indicates that the VM is in a breakpoint waiting for the debugger to do continue.
Trait Implementations§
impl Copy for VmRunMode
impl Eq for VmRunMode
impl StructuralPartialEq for VmRunMode
Auto Trait Implementations§
impl Freeze for VmRunMode
impl RefUnwindSafe for VmRunMode
impl Send for VmRunMode
impl Sync for VmRunMode
impl Unpin for VmRunMode
impl UnwindSafe for VmRunMode
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