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: u64
The total amount of bytes written
write_rate: f64
The rate of bytes written per second
write_idle: Duration
The current idle time of writing side
read_total: u64
The total amount of bytes read
read_rate: f64
The rate of bytes read per second
read_idle: Duration
The current idle time of reading side