pub struct ShutdownReport {
pub total: usize,
pub drained: usize,
pub aborted: usize,
pub panics: usize,
}Expand description
Outcome of a ProducerLifecycle::shutdown call.
Fields§
§total: usizeTotal tasks the lifecycle was managing at shutdown time.
drained: usizeTasks that exited cleanly (cooperatively, within the grace deadline).
aborted: usizeTasks that did NOT exit within the grace deadline and were aborted.
panics: usizeTasks that ended with a panic (counted as part of aborted).
Trait Implementations§
Source§impl Clone for ShutdownReport
impl Clone for ShutdownReport
impl Copy for ShutdownReport
Source§impl Debug for ShutdownReport
impl Debug for ShutdownReport
impl Eq for ShutdownReport
Source§impl PartialEq for ShutdownReport
impl PartialEq for ShutdownReport
impl StructuralPartialEq for ShutdownReport
Auto Trait Implementations§
impl Freeze for ShutdownReport
impl RefUnwindSafe for ShutdownReport
impl Send for ShutdownReport
impl Sync for ShutdownReport
impl Unpin for ShutdownReport
impl UnsafeUnpin for ShutdownReport
impl UnwindSafe for ShutdownReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.