Enum omnisensor::threshold::ThresholdSeverity
source · [−]pub enum ThresholdSeverity {
Warning,
Critical,
PerformanceLoss,
SoftShutdown,
HardShutdown,
}
Expand description
The severity level of a threshold.
Variants
Warning
Critical
PerformanceLoss
SoftShutdown
HardShutdown
Implementations
Trait Implementations
sourceimpl Clone for ThresholdSeverity
impl Clone for ThresholdSeverity
sourcefn clone(&self) -> ThresholdSeverity
fn clone(&self) -> ThresholdSeverity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ThresholdSeverity
impl Debug for ThresholdSeverity
sourceimpl Hash for ThresholdSeverity
impl Hash for ThresholdSeverity
sourceimpl IntoEnumIterator for ThresholdSeverity
impl IntoEnumIterator for ThresholdSeverity
type Iterator = ThresholdSeverityIter
fn iter() -> ThresholdSeverityIterⓘNotable traits for ThresholdSeverityIterimpl Iterator for ThresholdSeverityIter type Item = ThresholdSeverity;
sourceimpl PartialEq<ThresholdSeverity> for ThresholdSeverity
impl PartialEq<ThresholdSeverity> for ThresholdSeverity
sourcefn eq(&self, other: &ThresholdSeverity) -> bool
fn eq(&self, other: &ThresholdSeverity) -> bool
sourceimpl TryFrom<&f64> for ThresholdSeverity
impl TryFrom<&f64> for ThresholdSeverity
impl Copy for ThresholdSeverity
impl Eq for ThresholdSeverity
impl StructuralEq for ThresholdSeverity
impl StructuralPartialEq for ThresholdSeverity
Auto Trait Implementations
impl RefUnwindSafe for ThresholdSeverity
impl Send for ThresholdSeverity
impl Sync for ThresholdSeverity
impl Unpin for ThresholdSeverity
impl UnwindSafe for ThresholdSeverity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more