pub struct DispatchDrainReport {
pub selected: usize,
pub processed: usize,
pub failed: usize,
pub expired: usize,
pub incompatible_skipped: usize,
pub nested_suppressed: bool,
pub duration_limit_reached: bool,
}Expand description
Bounded outcome counters for one callback drain attempt.
Fields§
§selected: usizeRequests selected into this drain’s bounded batch.
processed: usizeSelected operations that reached an execution attempt.
failed: usizeSelected operations that published failure.
expired: usizeQueued requests retired because their deadline elapsed.
incompatible_skipped: usizeIncompatible requests skipped while seeking compatible work behind them.
nested_suppressed: boolWhether a nested drain was rejected by the callback-depth guard.
duration_limit_reached: boolWhether the configured drain duration stopped batch selection.
Trait Implementations§
Source§impl Clone for DispatchDrainReport
impl Clone for DispatchDrainReport
impl Copy for DispatchDrainReport
Source§impl Debug for DispatchDrainReport
impl Debug for DispatchDrainReport
Source§impl Default for DispatchDrainReport
impl Default for DispatchDrainReport
impl Eq for DispatchDrainReport
Source§impl PartialEq for DispatchDrainReport
impl PartialEq for DispatchDrainReport
impl StructuralPartialEq for DispatchDrainReport
Auto Trait Implementations§
impl Freeze for DispatchDrainReport
impl RefUnwindSafe for DispatchDrainReport
impl Send for DispatchDrainReport
impl Sync for DispatchDrainReport
impl Unpin for DispatchDrainReport
impl UnsafeUnpin for DispatchDrainReport
impl UnwindSafe for DispatchDrainReport
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