pub enum ThrottlingSeverity {
None,
Light,
Moderate,
Heavy,
Severe,
}
Expand description
Severity of thermal throttling
Variants§
None
No throttling
Light
Light throttling (< 10% performance loss)
Moderate
Moderate throttling (10-25% performance loss)
Heavy
Heavy throttling (25-50% performance loss)
Severe
Severe throttling (> 50% performance loss)
Trait Implementations§
Source§impl Clone for ThrottlingSeverity
impl Clone for ThrottlingSeverity
Source§fn clone(&self) -> ThrottlingSeverity
fn clone(&self) -> ThrottlingSeverity
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 ThrottlingSeverity
impl Debug for ThrottlingSeverity
Source§impl<'de> Deserialize<'de> for ThrottlingSeverity
impl<'de> Deserialize<'de> for ThrottlingSeverity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ThrottlingSeverity
impl Display for ThrottlingSeverity
Source§impl PartialEq for ThrottlingSeverity
impl PartialEq for ThrottlingSeverity
Source§impl Serialize for ThrottlingSeverity
impl Serialize for ThrottlingSeverity
impl Eq for ThrottlingSeverity
impl StructuralPartialEq for ThrottlingSeverity
Auto Trait Implementations§
impl Freeze for ThrottlingSeverity
impl RefUnwindSafe for ThrottlingSeverity
impl Send for ThrottlingSeverity
impl Sync for ThrottlingSeverity
impl Unpin for ThrottlingSeverity
impl UnwindSafe for ThrottlingSeverity
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