pub struct ConnectionManagerStats {
pub active_connections: usize,
pub total_connections: u64,
pub messages_sent: u64,
pub messages_received: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
pub errors: u64,
}Expand description
Connection manager statistics
Fields§
§active_connections: usizeActive connections
total_connections: u64Total connections served
messages_sent: u64Total messages sent
messages_received: u64Total messages received
bytes_sent: u64Total bytes sent
bytes_received: u64Total bytes received
errors: u64Total errors
Trait Implementations§
Source§impl Clone for ConnectionManagerStats
impl Clone for ConnectionManagerStats
Source§fn clone(&self) -> ConnectionManagerStats
fn clone(&self) -> ConnectionManagerStats
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 ConnectionManagerStats
impl RefUnwindSafe for ConnectionManagerStats
impl Send for ConnectionManagerStats
impl Sync for ConnectionManagerStats
impl Unpin for ConnectionManagerStats
impl UnsafeUnpin for ConnectionManagerStats
impl UnwindSafe for ConnectionManagerStats
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