pub enum ThrottlingRisk {
None,
Low,
Moderate,
High,
Critical,
}
Expand description
Risk level for thermal throttling
Variants§
None
No risk of throttling
Low
Low risk of throttling under sustained load
Moderate
Moderate risk, throttling may occur
High
High risk, throttling likely
Critical
Critical, throttling is occurring
Trait Implementations§
Source§impl Clone for ThrottlingRisk
impl Clone for ThrottlingRisk
Source§fn clone(&self) -> ThrottlingRisk
fn clone(&self) -> ThrottlingRisk
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 ThrottlingRisk
impl Debug for ThrottlingRisk
Source§impl<'de> Deserialize<'de> for ThrottlingRisk
impl<'de> Deserialize<'de> for ThrottlingRisk
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 ThrottlingRisk
impl Display for ThrottlingRisk
Source§impl PartialEq for ThrottlingRisk
impl PartialEq for ThrottlingRisk
Source§impl Serialize for ThrottlingRisk
impl Serialize for ThrottlingRisk
impl Eq for ThrottlingRisk
impl StructuralPartialEq for ThrottlingRisk
Auto Trait Implementations§
impl Freeze for ThrottlingRisk
impl RefUnwindSafe for ThrottlingRisk
impl Send for ThrottlingRisk
impl Sync for ThrottlingRisk
impl Unpin for ThrottlingRisk
impl UnwindSafe for ThrottlingRisk
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