#[non_exhaustive]pub struct HealthMonitor {
pub ifstate_clients: Option<String>,
pub threshold_level: Option<String>,
pub action: Option<String>,
}Expand description
The system health-monitor kernel health monitoring system (KHMS) settings.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ifstate_clients: Option<String>peer-stuck, non-peer-stuck or all-clients-stuck.
threshold_level: Option<String>low, medium or high.
action: Option<String>alarm, alarm-with-cores or restart.
Trait Implementations§
Source§impl Clone for HealthMonitor
impl Clone for HealthMonitor
Source§impl Debug for HealthMonitor
impl Debug for HealthMonitor
impl Eq for HealthMonitor
Source§impl PartialEq for HealthMonitor
impl PartialEq for HealthMonitor
impl StructuralPartialEq for HealthMonitor
Auto Trait Implementations§
impl Forget for HealthMonitor
impl Freeze for HealthMonitor
impl Move for HealthMonitor
impl RefUnwindSafe for HealthMonitor
impl Send for HealthMonitorwhere
RawVecInner: Send,
impl Sync for HealthMonitorwhere
RawVecInner: Sync,
impl Unpin for HealthMonitor
impl UnsafeUnpin for HealthMonitor
impl UnwindSafe for HealthMonitorwhere
RawVecInner: UnwindSafe,
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