pub enum EventKind {
ShutdownRequested,
BackoffScheduled,
AllStoppedWithin,
GraceExceeded,
TaskStarting,
TaskStopped,
TaskFailed,
TimeoutHit,
}Expand description
Classification of runtime events.
Variants§
ShutdownRequested
Shutdown requested (OS signal received).
BackoffScheduled
A task is scheduled to back off before retrying.
AllStoppedWithin
All tasks stopped within the configured grace period.
GraceExceeded
Grace period exceeded; some tasks did not stop in time.
TaskStarting
A task is starting execution.
TaskStopped
A task has stopped (finished or cancelled).
TaskFailed
A task failed with an error.
TimeoutHit
A task hit its configured timeout.
Trait Implementations§
impl Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnwindSafe for EventKind
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