pub struct ConnStats {
pub send_msg_count: u64,
pub send_byte_count: u64,
pub recv_msg_count: u64,
pub recv_byte_count: u64,
}Expand description
Connection statistics.
Fields§
§send_msg_count: u64message count sent.
send_byte_count: u64byte count sent.
recv_msg_count: u64message count received.
recv_byte_count: u64byte count received.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnStats
impl RefUnwindSafe for ConnStats
impl Send for ConnStats
impl Sync for ConnStats
impl Unpin for ConnStats
impl UnwindSafe for ConnStats
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