pub struct TcpInfo {Show 13 fields
pub state: State,
pub ca_state: CongestionControlState,
pub rto_usec: Option<u32>,
pub tcpi_last_data_sent_msec: Option<u32>,
pub tcpi_last_ack_recv_msec: Option<u32>,
pub rtt_usec: Option<u32>,
pub rtt_var_usec: Option<u32>,
pub snd_ssthresh: u32,
pub snd_cwnd: u32,
pub tcpi_total_retrans: u32,
pub tcpi_segs_out: u64,
pub tcpi_segs_in: u64,
pub reorder_seen: bool,
}Expand description
Extension type for [fnet_tcp::Info].
Fields§
§state: StateThe state of the TCP connection.
ca_state: CongestionControlStateThe congestion control state of the TCP connection.
rto_usec: Option<u32>The retransmission timeout of the TCP connection in microseconds.
tcpi_last_data_sent_msec: Option<u32>The time since the most recent data was sent on the connection in milliseconds.
tcpi_last_ack_recv_msec: Option<u32>The time since the most recent ACK was received in milliseconds.
rtt_usec: Option<u32>The estimated smoothed roundtrip time in microseconds.
rtt_var_usec: Option<u32>The smoothed mean deviation of the roundtrip time in microseconds.
snd_ssthresh: u32The sending slow start threshold in segments.
snd_cwnd: u32The current sending congestion window in segments.
tcpi_total_retrans: u32The total number of retransmissions.
tcpi_segs_out: u64The total number of segments sent.
tcpi_segs_in: u64The total number of segments received.
reorder_seen: boolWhether reordering has been seen on the connection.
Trait Implementations§
impl Eq for TcpInfo
impl StructuralPartialEq for TcpInfo
Auto Trait Implementations§
impl Freeze for TcpInfo
impl RefUnwindSafe for TcpInfo
impl Send for TcpInfo
impl Sync for TcpInfo
impl Unpin for TcpInfo
impl UnsafeUnpin for TcpInfo
impl UnwindSafe for TcpInfo
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.