#[repr(i64)]pub enum NSProcessInfoThermalState {
Nominal = 0,
Fair = 1,
Serious = 2,
Critical = 3,
}
Expand description
Values used to indicate the system’s thermal state.
Variants§
Nominal = 0
The thermal state is within normal limits.
Fair = 1
The thermal state is slightly elevated.
Serious = 2
The thermal state is high.
Critical = 3
The thermal state is significantly impacting the performance of the system and the device needs to cool down.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NSProcessInfoThermalState
impl RefUnwindSafe for NSProcessInfoThermalState
impl Send for NSProcessInfoThermalState
impl Sync for NSProcessInfoThermalState
impl Unpin for NSProcessInfoThermalState
impl UnwindSafe for NSProcessInfoThermalState
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