pub struct PriorityQueueStats {
pub total_messages: usize,
pub messages_by_priority: HashMap<Priority, usize>,
pub dead_letter_count: usize,
pub expired_count: usize,
pub average_wait_time: Duration,
pub throughput_per_second: f64,
}Expand description
Priority queue statistics
Fields§
§total_messages: usize§messages_by_priority: HashMap<Priority, usize>§dead_letter_count: usize§expired_count: usize§average_wait_time: Duration§throughput_per_second: f64Trait Implementations§
Source§impl Clone for PriorityQueueStats
impl Clone for PriorityQueueStats
Source§fn clone(&self) -> PriorityQueueStats
fn clone(&self) -> PriorityQueueStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PriorityQueueStats
impl RefUnwindSafe for PriorityQueueStats
impl Send for PriorityQueueStats
impl Sync for PriorityQueueStats
impl Unpin for PriorityQueueStats
impl UnwindSafe for PriorityQueueStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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