pub enum PerformanceDegradation {
None,
LapDetected,
HighTemperature,
Other,
}Expand description
Why the performance profile runs slower than it could, from the
daemon’s PerformanceDegraded.
Variants§
None
It isn’t, as far as the daemon can tell, or the daemon isn’t running.
LapDetected
The machine is on someone’s lap, so it is kept cooler.
HighTemperature
The machine is close to overheating.
Other
For a reason this list doesn’t know. The daemon’s docs say new ones may come, and to show a generic reason for them.
Trait Implementations§
Source§impl Clone for PerformanceDegradation
impl Clone for PerformanceDegradation
impl Copy for PerformanceDegradation
Source§impl Debug for PerformanceDegradation
impl Debug for PerformanceDegradation
Source§impl Default for PerformanceDegradation
impl Default for PerformanceDegradation
impl Eq for PerformanceDegradation
Source§impl PartialEq for PerformanceDegradation
impl PartialEq for PerformanceDegradation
impl StructuralPartialEq for PerformanceDegradation
Auto Trait Implementations§
impl Forget for PerformanceDegradation
impl Freeze for PerformanceDegradation
impl Move for PerformanceDegradation
impl RefUnwindSafe for PerformanceDegradation
impl Send for PerformanceDegradation
impl Sync for PerformanceDegradation
impl Unpin for PerformanceDegradation
impl UnsafeUnpin for PerformanceDegradation
impl UnwindSafe for PerformanceDegradation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
The type of the none-equivalent value that
NoneValue::null_value produces.Source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.