pub struct PendingBufferStats {
pub total_peers: usize,
pub total_messages: usize,
pub total_bytes: usize,
pub dropped_messages: u64,
pub expired_messages: u64,
}Expand description
Statistics for the pending buffer
Fields§
§total_peers: usizeTotal number of peers with pending data
total_messages: usizeTotal number of pending messages
total_bytes: usizeTotal bytes stored in the buffer
dropped_messages: u64Messages dropped due to buffer limits
expired_messages: u64Messages expired due to TTL
Trait Implementations§
Source§impl Clone for PendingBufferStats
impl Clone for PendingBufferStats
Source§fn clone(&self) -> PendingBufferStats
fn clone(&self) -> PendingBufferStats
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 moreSource§impl Debug for PendingBufferStats
impl Debug for PendingBufferStats
Source§impl Default for PendingBufferStats
impl Default for PendingBufferStats
Source§fn default() -> PendingBufferStats
fn default() -> PendingBufferStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PendingBufferStats
impl RefUnwindSafe for PendingBufferStats
impl Send for PendingBufferStats
impl Sync for PendingBufferStats
impl Unpin for PendingBufferStats
impl UnwindSafe for PendingBufferStats
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