pub struct QueueCounts {
pub pending: usize,
pub in_flight: usize,
pub completed: usize,
pub abandoned: usize,
}Expand description
A snapshot of the queue’s bookkeeping.
Fields§
§pending: usizeItems not yet claimed (fresh plus retry).
in_flight: usizeItems claimed and not yet completed or failed.
completed: usizeItems completed.
abandoned: usizeItems abandoned (all of them, however they were handed back).
Trait Implementations§
Source§impl Clone for QueueCounts
impl Clone for QueueCounts
impl Copy for QueueCounts
Source§impl Debug for QueueCounts
impl Debug for QueueCounts
impl Eq for QueueCounts
Source§impl PartialEq for QueueCounts
impl PartialEq for QueueCounts
impl StructuralPartialEq for QueueCounts
Auto Trait Implementations§
impl Freeze for QueueCounts
impl RefUnwindSafe for QueueCounts
impl Send for QueueCounts
impl Sync for QueueCounts
impl Unpin for QueueCounts
impl UnsafeUnpin for QueueCounts
impl UnwindSafe for QueueCounts
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