pub struct Stats {
pub sent_packets: u64,
pub recv_packets: u64,
pub lost_packets: u64,
pub sent_bytes: u64,
pub recv_bytes: u64,
pub dropped_packets: u64,
pub key_updates: u64,
pub cwnd: u64,
pub rtt: Duration,
pub mtu: usize,
}Fields§
§sent_packets: u64§recv_packets: u64§lost_packets: u64§sent_bytes: u64§recv_bytes: u64§dropped_packets: u64§key_updates: u64§cwnd: u64§rtt: Duration§mtu: usizeTrait Implementations§
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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