pub struct TcpStats {
pub congestion_window: u32,
pub receive_window: u32,
pub smoothed_rtt: Duration,
pub rtt_variance: Duration,
pub retransmitted_bytes: u64,
pub retransmitted_packets: u64,
pub retransmission_timeout: Duration,
}Fields§
§congestion_window: u32The congestion window in bytes.
receive_window: u32Our receive window in bytes.
smoothed_rtt: DurationThe smoothed round-trip time.
rtt_variance: DurationThe round-trip time variance.
retransmitted_bytes: u64Total sender retransmitted bytes on the socket.
retransmitted_packets: u64Total sender retransmitted packets on the socket.
retransmission_timeout: DurationThe current retransmission timeout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpStats
impl RefUnwindSafe for TcpStats
impl Send for TcpStats
impl Sync for TcpStats
impl Unpin for TcpStats
impl UnsafeUnpin for TcpStats
impl UnwindSafe for TcpStats
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