/// Mapping the status to a [MonitoringStatus]
Mapping the status to a [MonitoringStatus]
Mapping the status to a [ MonitoringStatus ]
pub fn status(&self) -> MonitoringStatus {
        if self.is_crit() {
            MonitoringStatus::Critical
        } else if self.is_warn() {
            MonitoringStatus::Warning
        } else {
            MonitoringStatus::OK
        }
    }
pub fn status ( & self ) -> MonitoringStatus { if self . is_crit ( ) { MonitoringStatus :: Critical } else if self . is_warn ( ) { MonitoringStatus :: Warning } else { MonitoringStatus :: OK } }
Mapping the status to a [MonitoringStatus]
Mapping the status to a [ MonitoringStatus ]
&self