pub struct QueueSize {
pub total: usize,
pub pending: usize,
pub reserved: usize,
pub completed: usize,
}Expand description
A breakdown of message counts by state.
Fields§
§total: usizeTotal number of messages in the queue.
pending: usizeNumber of messages waiting to be processed.
reserved: usizeNumber of messages currently being processed.
completed: usizeNumber of successfully processed messages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueueSize
impl RefUnwindSafe for QueueSize
impl Send for QueueSize
impl Sync for QueueSize
impl Unpin for QueueSize
impl UnwindSafe for QueueSize
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