Enum psci::LowestAffinityLevel
source · pub enum LowestAffinityLevel {
All,
Aff0Ignored,
Aff0Aff1Ignored,
Aff0Aff1Aff2Ignored,
}Expand description
Selects which affinity level fields are valid in the target_affinity parameter to
AFFINITY_INFO.
Variants§
All
All afinity level fields are valid.
Aff0Ignored
The Aff0 field is ignored.
Aff0Aff1Ignored
The Aff0 and Aff1 fields are ignored.
Aff0Aff1Aff2Ignored
The Aff0, Aff1 and Aff2 fields are ignored.
Trait Implementations§
source§impl Clone for LowestAffinityLevel
impl Clone for LowestAffinityLevel
source§fn clone(&self) -> LowestAffinityLevel
fn clone(&self) -> LowestAffinityLevel
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 LowestAffinityLevel
impl Debug for LowestAffinityLevel
source§impl From<LowestAffinityLevel> for u64
impl From<LowestAffinityLevel> for u64
source§fn from(lowest_affinity_level: LowestAffinityLevel) -> u64
fn from(lowest_affinity_level: LowestAffinityLevel) -> u64
Converts to this type from the input type.
source§impl PartialEq<LowestAffinityLevel> for LowestAffinityLevel
impl PartialEq<LowestAffinityLevel> for LowestAffinityLevel
source§fn eq(&self, other: &LowestAffinityLevel) -> bool
fn eq(&self, other: &LowestAffinityLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.