pub struct SocketStats {Show 21 fields
pub pmtu: u16,
pub rtt_us: i64,
pub min_rtt_us: i64,
pub max_rtt_us: i64,
pub rtt_var_us: i64,
pub cwnd: u64,
pub total_pto_count: u64,
pub packets_sent: u64,
pub packets_recvd: u64,
pub packets_lost: u64,
pub packets_lost_spurious: 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,
pub max_bandwidth: Option<u64>,
pub startup_exit: Option<StartupExit>,
pub bytes_in_flight_duration_us: u64,
}Fields§
§pmtu: u16§rtt_us: i64§min_rtt_us: i64§max_rtt_us: i64§rtt_var_us: i64§cwnd: u64§total_pto_count: u64§packets_sent: u64§packets_recvd: u64§packets_lost: u64§packets_lost_spurious: u64§packets_retrans: u64§bytes_sent: u64§bytes_recvd: u64§bytes_lost: u64§bytes_retrans: u64§bytes_unsent: u64§delivery_rate: u64§max_bandwidth: Option<u64>§startup_exit: Option<StartupExit>§bytes_in_flight_duration_us: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for SocketStats
impl RefUnwindSafe for SocketStats
impl Send for SocketStats
impl Sync for SocketStats
impl Unpin for SocketStats
impl UnsafeUnpin 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