#[repr(C)]pub enum PamojaAlertKind {
None = 0,
OutOfRange = 1,
RunningOut = 2,
ChangingFast = 3,
}Expand description
Which threshold a reading crossed, if any.
Variants§
None = 0
The reading raised nothing.
OutOfRange = 1
A controlled reading drifted outside its safe band.
RunningOut = 2
A falling level will reach empty within a few more samples.
ChangingFast = 3
A reading is changing faster than its safe rate.
Trait Implementations§
Source§impl Clone for PamojaAlertKind
impl Clone for PamojaAlertKind
Source§fn clone(&self) -> PamojaAlertKind
fn clone(&self) -> PamojaAlertKind
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 PamojaAlertKind
Source§impl Debug for PamojaAlertKind
impl Debug for PamojaAlertKind
impl Eq for PamojaAlertKind
Source§impl PartialEq for PamojaAlertKind
impl PartialEq for PamojaAlertKind
Source§fn eq(&self, other: &PamojaAlertKind) -> bool
fn eq(&self, other: &PamojaAlertKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaAlertKind
Auto Trait Implementations§
impl Freeze for PamojaAlertKind
impl RefUnwindSafe for PamojaAlertKind
impl Send for PamojaAlertKind
impl Sync for PamojaAlertKind
impl Unpin for PamojaAlertKind
impl UnsafeUnpin for PamojaAlertKind
impl UnwindSafe for PamojaAlertKind
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