Struct msgpacknet::ConnectionStats
[−]
[src]
pub struct ConnectionStats {
pub write_total: u64,
pub write_rate: f64,
pub write_idle: Duration,
pub read_total: u64,
pub read_rate: f64,
pub read_idle: Duration,
}Statistics of one connection
Fields
write_total | The total amount of bytes written |
write_rate | The rate of bytes written per second |
write_idle | The current idle time of writing side |
read_total | The total amount of bytes read |
read_rate | The rate of bytes read per second |
read_idle | The current idle time of reading side |