#[non_exhaustive]pub enum AlertState {
Active,
Acknowledged,
Rectified,
}Expand description
Alert state.
#[non_exhaustive]; match with a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Active
Raised, not acknowledged; annunciating.
Acknowledged
Acknowledged; condition present.
Rectified
Condition gone; removed once acknowledged.
Trait Implementations§
Source§impl Clone for AlertState
impl Clone for AlertState
impl Copy for AlertState
Source§impl Debug for AlertState
impl Debug for AlertState
impl Eq for AlertState
Source§impl Hash for AlertState
impl Hash for AlertState
Source§impl PartialEq for AlertState
impl PartialEq for AlertState
impl StructuralPartialEq for AlertState
Auto Trait Implementations§
impl Freeze for AlertState
impl RefUnwindSafe for AlertState
impl Send for AlertState
impl Sync for AlertState
impl Unpin for AlertState
impl UnsafeUnpin for AlertState
impl UnwindSafe for AlertState
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