Enum psci::AffinityState
source · [−]pub enum AffinityState {
On,
Off,
OnPending,
}
Expand description
Affinity state values returned by AFFINITY_INFO
.
Variants
On
At least one core in the affinity instance is on.
Off
All cores in the affinity instance are off.
OnPending
The affinity instance is transitioning to the on state.
Trait Implementations
sourceimpl Clone for AffinityState
impl Clone for AffinityState
sourcefn clone(&self) -> AffinityState
fn clone(&self) -> AffinityState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AffinityState
impl Debug for AffinityState
sourceimpl PartialEq<AffinityState> for AffinityState
impl PartialEq<AffinityState> for AffinityState
sourceimpl TryFrom<i32> for AffinityState
impl TryFrom<i32> for AffinityState
impl Copy for AffinityState
impl Eq for AffinityState
impl StructuralEq for AffinityState
impl StructuralPartialEq for AffinityState
Auto Trait Implementations
impl RefUnwindSafe for AffinityState
impl Send for AffinityState
impl Sync for AffinityState
impl Unpin for AffinityState
impl UnwindSafe for AffinityState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more