pub struct IngestOutcome {
pub key: ConnectionKey,
pub created: bool,
pub dropped: bool,
pub retransmits: u64,
pub out_of_order: u64,
pub fast_retransmits: u64,
pub measured_rtt: Option<Duration>,
}Expand description
What happened when a packet was ingested.
Returned so callers can layer their own concerns — global statistics, structured logging, DNS enrichment — on top of the core table update without the tracker needing to know about them.
Fields§
§key: ConnectionKeyThe (possibly QUIC-coalesced) key under which the connection is stored.
Copy, and its Display form matches the historical string key
("TCP:1.2.3.4:80-TCP:5.6.7.8:443").
created: booltrue if this packet created a new connection entry.
dropped: booltrue if the packet was dropped because max_connections was reached
(the connection did not already exist and was not inserted).
retransmits: u64New TCP retransmissions detected by this packet.
out_of_order: u64New out-of-order TCP segments detected by this packet.
fast_retransmits: u64New TCP fast-retransmits detected by this packet.
measured_rtt: Option<Duration>An RTT sample, if this packet was a TCP SYN-ACK that matched a prior SYN.
Trait Implementations§
Source§impl Clone for IngestOutcome
impl Clone for IngestOutcome
Source§fn clone(&self) -> IngestOutcome
fn clone(&self) -> IngestOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more