pub struct DrainReport {
pub claimed: usize,
pub delivered: usize,
pub retried: usize,
pub pruned: usize,
pub dead_lettered: usize,
pub dropped: usize,
pub failed: usize,
}Expand description
What one drain pass did.
Fields§
§claimed: usizeRows this drainer leased.
delivered: usizeAccepted by the provider.
retried: usizeRescheduled after a transient failure.
pruned: usizeSubscriptions deleted because the provider said they were gone.
dead_lettered: usizeRows moved to notifications_dead_letters.
dropped: usizeRows dropped without sending: the category was switched off after the row was written, the device signed out, or the device now belongs to another account.
failed: usizeRows whose own database call failed. The pass carries on: those rows keep their lease and become due again when it expires, and the rows behind them are not held hostage to one transient error.
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.