pub struct CpuLoad {
pub low: bool,
pub moderate: bool,
pub high: bool,
pub very_high: bool,
pub critical: bool,
}
Expand description
An evaluation of measured cpu load during a period.
Fields
low: bool
This is considered to be well below sustainable levels.
moderate: bool
This is considered to be OK.
high: bool
This is not a sustainable level.
very_high: bool
This is not a sustainable level.
critical: bool
This is not a sustainable level.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for CpuLoad
impl UnwindSafe for CpuLoad
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more