pub struct DrainReport {
pub claimed: usize,
pub delivered: usize,
pub retried: usize,
pub dead_lettered: usize,
pub dropped: usize,
pub failed: usize,
}Expand description
What one drain pass did.
A per-row failure never aborts the pass; it is counted in failed and
the row keeps its lease until that expires, exactly the posture
module-notifications’ drain takes.
Fields§
§claimed: usizeRows this drainer won the lease on.
delivered: usizeAnswered 2xx: the row is completed.
retried: usizeFailed and scheduled for another attempt.
dead_lettered: usizeGiven up on, in webhooks_dead_letters, replayable.
dropped: usizeDropped without an attempt: the endpoint was deleted between the enqueue and the drain.
failed: usizeRows whose delivery errored in a way this pass could not file — the log write itself failed. The row keeps its lease.
Trait Implementations§
Source§impl Clone for DrainReport
impl Clone for DrainReport
impl Copy for DrainReport
Source§impl Debug for DrainReport
impl Debug for DrainReport
Source§impl Default for DrainReport
impl Default for DrainReport
impl Eq for DrainReport
Source§impl PartialEq for DrainReport
impl PartialEq for DrainReport
impl StructuralPartialEq for DrainReport
Auto Trait Implementations§
impl Freeze for DrainReport
impl RefUnwindSafe for DrainReport
impl Send for DrainReport
impl Sync for DrainReport
impl Unpin for DrainReport
impl UnsafeUnpin for DrainReport
impl UnwindSafe for DrainReport
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.