pub struct SocketStats {Show 15 fields
pub pmtu: u16,
pub rtt_us: i64,
pub min_rtt_us: i64,
pub rtt_var_us: i64,
pub cwnd: u64,
pub packets_sent: u64,
pub packets_recvd: u64,
pub packets_lost: u64,
pub packets_retrans: u64,
pub bytes_sent: u64,
pub bytes_recvd: u64,
pub bytes_lost: u64,
pub bytes_retrans: u64,
pub bytes_unsent: u64,
pub delivery_rate: u64,
}
Fields§
§pmtu: u16
§rtt_us: i64
§min_rtt_us: i64
§rtt_var_us: i64
§cwnd: u64
§packets_sent: u64
§packets_recvd: u64
§packets_lost: u64
§packets_retrans: u64
§bytes_sent: u64
§bytes_recvd: u64
§bytes_lost: u64
§bytes_retrans: u64
§bytes_unsent: u64
§delivery_rate: u64
Trait Implementations§
Source§impl Clone for SocketStats
impl Clone for SocketStats
Source§fn clone(&self) -> SocketStats
fn clone(&self) -> SocketStats
Returns a copy of the value. Read more
1.0.0 · 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 SocketStats
impl Debug for SocketStats
Source§impl Default for SocketStats
impl Default for SocketStats
Source§fn default() -> SocketStats
fn default() -> SocketStats
Returns the “default value” for a type. Read more
impl Copy for SocketStats
Auto Trait Implementations§
impl Freeze for SocketStats
impl RefUnwindSafe for SocketStats
impl Send for SocketStats
impl Sync for SocketStats
impl Unpin for SocketStats
impl UnwindSafe for SocketStats
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