pub enum PressureId {
Cpu,
Memory,
Disk,
Network,
Swap,
Load,
PsiCpu,
PsiMemory,
PsiIo,
}Expand description
Which resource a signal describes.
Variants§
Cpu
CPU saturation.
Memory
Memory availability.
Disk
Disk device pressure.
Network
Network saturation. Only meaningful with a known link speed (§2.3).
Swap
Swap activity.
Load
Sustained run-queue or load pressure.
PsiCpu
Linux PSI, CPU resource.
PsiMemory
Linux PSI, memory resource.
PsiIo
Linux PSI, I/O resource.
Implementations§
Source§impl PressureId
impl PressureId
Trait Implementations§
Source§impl Clone for PressureId
impl Clone for PressureId
Source§fn clone(&self) -> PressureId
fn clone(&self) -> PressureId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PressureId
Source§impl Debug for PressureId
impl Debug for PressureId
impl Eq for PressureId
Source§impl Hash for PressureId
impl Hash for PressureId
Source§impl Ord for PressureId
impl Ord for PressureId
Source§fn cmp(&self, other: &PressureId) -> Ordering
fn cmp(&self, other: &PressureId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PressureId
impl PartialEq for PressureId
Source§impl PartialOrd for PressureId
impl PartialOrd for PressureId
impl StructuralPartialEq for PressureId
Auto Trait Implementations§
impl Freeze for PressureId
impl RefUnwindSafe for PressureId
impl Send for PressureId
impl Sync for PressureId
impl Unpin for PressureId
impl UnsafeUnpin for PressureId
impl UnwindSafe for PressureId
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