pub struct ConnectionUpdateEvent {
pub rx_packets: u64,
pub rx_bytes: u64,
pub tx_packets: u64,
pub tx_bytes: u64,
pub rx_dups: u64,
pub rx_ooo: u64,
pub tx_retx: u64,
pub min_rtt: u64,
pub avg_rtt: u64,
pub connection_serial: u64,
pub time: u64,
}Fields§
§rx_packets: u64§rx_bytes: u64§tx_packets: u64§tx_bytes: u64§rx_dups: u64§rx_ooo: u64§tx_retx: u64§min_rtt: u64§avg_rtt: u64§connection_serial: u64§time: u64Trait Implementations§
Source§impl Clone for ConnectionUpdateEvent
impl Clone for ConnectionUpdateEvent
Source§fn clone(&self) -> ConnectionUpdateEvent
fn clone(&self) -> ConnectionUpdateEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionUpdateEvent
impl Debug for ConnectionUpdateEvent
Source§impl PartialEq for ConnectionUpdateEvent
impl PartialEq for ConnectionUpdateEvent
Source§fn eq(&self, other: &ConnectionUpdateEvent) -> bool
fn eq(&self, other: &ConnectionUpdateEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConnectionUpdateEvent
impl Serialize for ConnectionUpdateEvent
impl Eq for ConnectionUpdateEvent
impl StructuralPartialEq for ConnectionUpdateEvent
Auto Trait Implementations§
impl Freeze for ConnectionUpdateEvent
impl RefUnwindSafe for ConnectionUpdateEvent
impl Send for ConnectionUpdateEvent
impl Sync for ConnectionUpdateEvent
impl Unpin for ConnectionUpdateEvent
impl UnsafeUnpin for ConnectionUpdateEvent
impl UnwindSafe for ConnectionUpdateEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.