pub struct ShutdownReport {
pub total_ms: u64,
pub drain_ms: u64,
pub quiesce_ms: u64,
pub tick_joined: bool,
pub workers_joined: usize,
}Expand description
Report from the shutdown state machine.
Fields§
§total_ms: u64Total time spent in the shutdown sequence.
drain_ms: u64Time spent draining the tick thread.
quiesce_ms: u64Time spent quiescing workers.
tick_joined: boolWhether the tick thread was joined successfully.
workers_joined: usizeNumber of worker threads joined.
Trait Implementations§
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