Struct QuicProtocol
Source pub struct QuicProtocol {
pub connection_id: u64,
pub zero_rtt_enabled: bool,
}
Expand description
QUIC transport protocol (RFC 9000) implementing HTTP/3
§Cryptographic Foundations
QUIC advantages over legacy TCP:
- Zero Round-Trip Time (0-RTT) connection establishment vs 1-RTT for TCP+TLS
- Mandatory TLS 1.3 cryptographic protection
- Stream multiplexing without head-of-line blocking artifacts
- Connection migration resilience across network topology changes
Establish QUIC connection with cryptographic handshake
Protocol flow: Initial Packet → Handshake Completion → 1-RTT Protected Frames
With 0-RTT: Application data transmission in initial packet
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.