pub enum AffinityState {
On = 0,
Off = 1,
OnPending = 2,
}
Expand description
Affinity state values returned by AFFINITY_INFO
.
Variants§
On = 0
At least one core in the affinity instance is on.
Off = 1
All cores in the affinity instance are off.
OnPending = 2
The affinity instance is transitioning to the on state.
Trait Implementations§
Source§impl Clone for AffinityState
impl Clone for AffinityState
Source§fn clone(&self) -> AffinityState
fn clone(&self) -> AffinityState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AffinityState
impl Debug for AffinityState
Source§impl PartialEq for AffinityState
impl PartialEq for AffinityState
Source§impl TryFrom<i32> for AffinityState
impl TryFrom<i32> for AffinityState
impl Copy for AffinityState
impl Eq for AffinityState
impl StructuralPartialEq for AffinityState
Auto Trait Implementations§
impl Freeze for AffinityState
impl RefUnwindSafe for AffinityState
impl Send for AffinityState
impl Sync for AffinityState
impl Unpin for AffinityState
impl UnwindSafe for AffinityState
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