pub enum Notify {
None,
Down {
since: u64,
flapping: bool,
},
NeverUp {
since: u64,
},
Up {
down_since: u64,
downtime_ms: u64,
},
}Variants§
None
Down
Down since since (the first failed check of the incident).
NeverUp
Still no success NEVER_UP_MS after the first check (since).
Up
Up again; it was down from down_since.
Trait Implementations§
impl StructuralPartialEq for Notify
Auto Trait Implementations§
impl Freeze for Notify
impl RefUnwindSafe for Notify
impl Send for Notify
impl Sync for Notify
impl Unpin for Notify
impl UnsafeUnpin for Notify
impl UnwindSafe for Notify
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