pub struct Info {Show 13 fields
pub state: Option<State>,
pub ca_state: Option<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: Option<u32>,
pub snd_cwnd: Option<u32>,
pub tcpi_total_retrans: Option<u32>,
pub tcpi_segs_out: Option<u64>,
pub tcpi_segs_in: Option<u64>,
pub reorder_seen: Option<bool>,
/* private fields */
}
Expand description
TCP protocol state.
Fields§
§state: Option<State>
The current state of the TCP state machine.
ca_state: Option<CongestionControlState>
The current state of the TCP congention avoidance state machine.
rto_usec: Option<u32>
The current RTO value in microseconds.
tcpi_last_data_sent_msec: Option<u32>
Time since data was last sent on the connection in milliseconds.
tcpi_last_ack_recv_msec: Option<u32>
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: Option<u32>
The sending slow start threshold in segments.
snd_cwnd: Option<u32>
The current sending congestion window in segments.
tcpi_total_retrans: Option<u32>
The total number of retransmission events.
tcpi_segs_out: Option<u64>
The total number of segments transmitted.
tcpi_segs_in: Option<u64>
The total number of segments received.
reorder_seen: Option<bool>
Whether the connection thinks it has ever seen reordering.
Trait Implementations§
Source§impl<D: ResourceDialect> Decode<Info, D> for Info
impl<D: ResourceDialect> Decode<Info, D> for Info
Source§impl TypeMarker for Info
impl TypeMarker for Info
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for Info
impl ValueTypeMarker for Info
impl Persistable for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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