pub enum ThermalStatus {
Cool,
Warm,
Throttling,
Critical,
}Expand description
Represents the thermal state of the device.
Variants§
Cool
Device is running cool.
Warm
Device is warming up but within normal bounds.
Throttling
Device is actively throttling performance to shed heat.
Critical
Device is at critical temperature, emergency measures required.
Trait Implementations§
Source§impl Clone for ThermalStatus
impl Clone for ThermalStatus
Source§fn clone(&self) -> ThermalStatus
fn clone(&self) -> ThermalStatus
Returns a duplicate 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 ThermalStatus
impl Debug for ThermalStatus
Source§impl Default for ThermalStatus
impl Default for ThermalStatus
Source§fn default() -> ThermalStatus
fn default() -> ThermalStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for ThermalStatus
impl PartialEq for ThermalStatus
impl Copy for ThermalStatus
impl Eq for ThermalStatus
impl StructuralPartialEq for ThermalStatus
Auto Trait Implementations§
impl Freeze for ThermalStatus
impl RefUnwindSafe for ThermalStatus
impl Send for ThermalStatus
impl Sync for ThermalStatus
impl Unpin for ThermalStatus
impl UnwindSafe for ThermalStatus
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