pub enum ThresholdMetric {
SwapUsedPct,
MemPressurePct,
AvailableBytes,
AvailablePct,
}Variants§
SwapUsedPct
Swap used as % of swap total.
MemPressurePct
Memory pressure %: the forecast evaluates it on PSI some avg10 (SPEC §21, the conservative
series: some ≥ full).
AvailableBytes
Available memory in bytes.
AvailablePct
Available memory as % of total.
Trait Implementations§
Source§impl Clone for ThresholdMetric
impl Clone for ThresholdMetric
impl Copy for ThresholdMetric
Source§impl Debug for ThresholdMetric
impl Debug for ThresholdMetric
Source§impl Default for ThresholdMetric
impl Default for ThresholdMetric
Source§impl<'de> Deserialize<'de> for ThresholdMetric
impl<'de> Deserialize<'de> for ThresholdMetric
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
impl Eq for ThresholdMetric
Source§impl Hash for ThresholdMetric
impl Hash for ThresholdMetric
Source§impl PartialEq for ThresholdMetric
impl PartialEq for ThresholdMetric
Source§impl Serialize for ThresholdMetric
impl Serialize for ThresholdMetric
impl StructuralPartialEq for ThresholdMetric
Auto Trait Implementations§
impl Forget for ThresholdMetric
impl Freeze for ThresholdMetric
impl Move for ThresholdMetric
impl RefUnwindSafe for ThresholdMetric
impl Send for ThresholdMetric
impl Sync for ThresholdMetric
impl Unpin for ThresholdMetric
impl UnsafeUnpin for ThresholdMetric
impl UnwindSafe for ThresholdMetric
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