pub enum CpuLifecycleState {
Online,
Inactive,
Draining,
Offline,
}Expand description
Placement and remote-publication state of one logical CPU.
Variants§
Online
The CPU accepts placement and remote scheduler publications.
Inactive
New placement is closed while owner-directed control delivery may finish.
Draining
Every remote publication is closed while the owner proves work is gone.
Offline
The CPU owns no schedulable work and is absent from the root domain.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CpuLifecycleState
Source§impl Debug for CpuLifecycleState
impl Debug for CpuLifecycleState
impl Eq for CpuLifecycleState
Source§impl PartialEq for CpuLifecycleState
impl PartialEq 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 UnsafeUnpin for CpuLifecycleState
impl UnwindSafe for CpuLifecycleState
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