pub struct ConnectionStats {
pub bytes_read: u64,
pub bytes_written: u64,
pub read_ops: u64,
pub write_ops: u64,
}Expand description
Statistics for individual TCP connections
Fields§
§bytes_read: u64Bytes read on the connection.
bytes_written: u64Bytes written on the connection.
read_ops: u64Completed read operations.
write_ops: u64Completed write operations.
Trait Implementations§
Source§impl Clone for ConnectionStats
impl Clone for ConnectionStats
Auto Trait Implementations§
impl Freeze for ConnectionStats
impl RefUnwindSafe for ConnectionStats
impl Send for ConnectionStats
impl Sync for ConnectionStats
impl Unpin for ConnectionStats
impl UnsafeUnpin for ConnectionStats
impl UnwindSafe for ConnectionStats
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