pub struct MailboxStats {
pub queued_messages: u64,
pub inflight_messages: u64,
pub queued_by_priority: HashMap<MessagePriority, u64>,
}Expand description
Mailbox statistics
Fields§
§queued_messages: u64Total number of messages waiting in the queue
inflight_messages: u64Total number of dequeued but not yet acknowledged messages
queued_by_priority: HashMap<MessagePriority, u64>Queued message count by priority
Trait Implementations§
Source§impl Clone for MailboxStats
impl Clone for MailboxStats
Source§fn clone(&self) -> MailboxStats
fn clone(&self) -> MailboxStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MailboxStats
impl Debug for MailboxStats
Source§impl<'de> Deserialize<'de> for MailboxStats
impl<'de> Deserialize<'de> for MailboxStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MailboxStats
impl PartialEq for MailboxStats
Source§fn eq(&self, other: &MailboxStats) -> bool
fn eq(&self, other: &MailboxStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MailboxStats
impl Serialize for MailboxStats
impl Eq for MailboxStats
impl StructuralPartialEq for MailboxStats
Auto Trait Implementations§
impl Freeze for MailboxStats
impl RefUnwindSafe for MailboxStats
impl Send for MailboxStats
impl Sync for MailboxStats
impl Unpin for MailboxStats
impl UnsafeUnpin for MailboxStats
impl UnwindSafe for MailboxStats
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