Enum vent::kvm::sys::StateValue
[−]
[src]
#[repr(u32)]pub enum StateValue { Runnable, Uninitialized, InitReceived, StateHalted, SipiReceived, Stopped, CheckStop, Operating, Load, }
Variants
Runnable
The vCPU is currently running. Only supported on x86, ARM, and arm64.
Uninitialized
The vCPU is an application processor which has not yet received an INIT signal. Only supported on x86.
InitReceived
The vCPU has received an INIT signal, and is now ready for a SIPI. Only supoprted on x86.
StateHalted
The vCPU has executed a HLT instruction and is waiting for an interrupt. Only supported on x86.
SipiReceived
The vCPU has just received a SIPI. Only supported on x86.
Stopped
The vCPU is stopped. Only supported on s390, ARM, and arm64.
CheckStop
The vCPU is in a special error state. Only supported on s390.
Operating
The vCPU is operating (running or halted). Only supported on s390.
Load
The vCPU is in a special load/startup state. Only supported on s390.
Trait Implementations
impl Debug for StateValue
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for StateValue
[src]
impl Clone for StateValue
[src]
fn clone(&self) -> StateValue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for StateValue
[src]
fn eq(&self, __arg_0: &StateValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.