pub struct DispatchDiagnostics {Show 14 fields
pub generation: u64,
pub pending: usize,
pub running: usize,
pub accepted: u64,
pub rejected: u64,
pub selected: u64,
pub executed: u64,
pub canceled: u64,
pub expired: u64,
pub completed: u64,
pub failed: u64,
pub shutdown_retired: u64,
pub incompatible_skipped: u64,
pub nested_suppressed: u64,
}Expand description
Bounded cumulative counters for a dispatcher generation.
Fields§
§generation: u64Generation this snapshot describes.
pending: usizeRequests currently queued or selected.
running: usizeOperations currently executing synchronously in a callback.
accepted: u64Total accepted requests.
rejected: u64Total admission rejections.
selected: u64Total selected requests.
executed: u64Total attempted executions.
canceled: u64Total canceled requests.
expired: u64Total queued-expired requests.
completed: u64Total successful completions.
failed: u64Total failed executions.
shutdown_retired: u64Total requests retired by shutdown.
incompatible_skipped: u64Total incompatible requests skipped during selection.
nested_suppressed: u64Total nested drain attempts suppressed by the guard.
Trait Implementations§
Source§impl Clone for DispatchDiagnostics
impl Clone for DispatchDiagnostics
impl Copy for DispatchDiagnostics
Source§impl Debug for DispatchDiagnostics
impl Debug for DispatchDiagnostics
Source§impl Default for DispatchDiagnostics
impl Default for DispatchDiagnostics
impl Eq for DispatchDiagnostics
Source§impl PartialEq for DispatchDiagnostics
impl PartialEq for DispatchDiagnostics
impl StructuralPartialEq for DispatchDiagnostics
Auto Trait Implementations§
impl Forget for DispatchDiagnostics
impl Freeze for DispatchDiagnostics
impl Move for DispatchDiagnostics
impl RefUnwindSafe for DispatchDiagnostics
impl Send for DispatchDiagnostics
impl Sync for DispatchDiagnostics
impl Unpin for DispatchDiagnostics
impl UnsafeUnpin for DispatchDiagnostics
impl UnwindSafe for DispatchDiagnostics
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