pub enum CpuLifecycleState {
Empty,
Allocated,
Initializing,
Online,
Removing,
Removed,
}Expand description
CPU hot-plug lifecycle state
Variants§
Empty
CPU slot is empty (not allocated)
Allocated
CPU has been allocated (resources reserved)
Initializing
CPU is being initialized (firmware/microcode)
Online
CPU is online and running
Removing
CPU is being taken offline
Removed
CPU has been removed
Trait Implementations§
Source§impl Clone for CpuLifecycleState
impl Clone for CpuLifecycleState
Source§fn clone(&self) -> CpuLifecycleState
fn clone(&self) -> CpuLifecycleState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CpuLifecycleState
impl Debug for CpuLifecycleState
Source§impl Default for CpuLifecycleState
impl Default for CpuLifecycleState
Source§fn default() -> CpuLifecycleState
fn default() -> CpuLifecycleState
Returns the “default value” for a type. Read more
Source§impl PartialEq for CpuLifecycleState
impl PartialEq for CpuLifecycleState
impl Copy for CpuLifecycleState
impl Eq for CpuLifecycleState
impl StructuralPartialEq for CpuLifecycleState
Auto Trait Implementations§
impl Freeze for CpuLifecycleState
impl RefUnwindSafe for CpuLifecycleState
impl Send for CpuLifecycleState
impl Sync for CpuLifecycleState
impl Unpin for CpuLifecycleState
impl UnwindSafe for CpuLifecycleState
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)