pub enum SupervisorEventKind {
ServiceStarted,
ServiceStopped,
ServiceRestartScheduled,
ServiceRestarted,
ServiceFailed,
ServiceRecovered,
ServiceOrphaned,
RestartBudgetExceeded,
ServiceQuarantined,
SupervisorProgressed,
SupervisorStalled,
SupervisorRecovered,
}Expand description
Stable kind emitted for supervisor and watchdog state changes.
Variants§
ServiceStarted
A service started.
ServiceStopped
A service stopped.
ServiceRestartScheduled
A restart was accepted into the bounded schedule.
ServiceRestarted
A service restarted.
ServiceFailed
A service failed.
ServiceRecovered
A degraded or failed service recovered.
ServiceOrphaned
A service instance outlived its shutdown timeout.
RestartBudgetExceeded
A service exhausted its restart budget.
ServiceQuarantined
A service requires operator intervention.
SupervisorProgressed
A reconciliation cycle completed.
SupervisorStalled
The watchdog detected absent reconciliation progress.
SupervisorRecovered
Reconciliation resumed after a stall.
Trait Implementations§
Source§impl Clone for SupervisorEventKind
impl Clone for SupervisorEventKind
Source§fn clone(&self) -> SupervisorEventKind
fn clone(&self) -> SupervisorEventKind
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 SupervisorEventKind
Source§impl Debug for SupervisorEventKind
impl Debug for SupervisorEventKind
impl Eq for SupervisorEventKind
Source§impl PartialEq for SupervisorEventKind
impl PartialEq for SupervisorEventKind
impl StructuralPartialEq for SupervisorEventKind
Auto Trait Implementations§
impl Freeze for SupervisorEventKind
impl RefUnwindSafe for SupervisorEventKind
impl Send for SupervisorEventKind
impl Sync for SupervisorEventKind
impl Unpin for SupervisorEventKind
impl UnsafeUnpin for SupervisorEventKind
impl UnwindSafe for SupervisorEventKind
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