pub enum VcpuState {
Created,
Running,
Halted,
WaitingForSipi,
Paused,
Stopped,
}Expand description
vCPU execution state
Variants§
Created
Not yet started
Running
Running guest code
Halted
Halted (HLT instruction)
WaitingForSipi
Waiting for SIPI
Paused
Paused by hypervisor
Stopped
Stopped / destroyed
Trait Implementations§
impl Copy for VcpuState
impl Eq for VcpuState
impl StructuralPartialEq for VcpuState
Auto Trait Implementations§
impl Freeze for VcpuState
impl RefUnwindSafe for VcpuState
impl Send for VcpuState
impl Sync for VcpuState
impl Unpin for VcpuState
impl UnwindSafe for VcpuState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)