Module packet
Available on crate feature
quic only.Structs§
- Fixed
Length Connection IdParser - A
ConnectionIdParserimplementation that assumes the connection ID is of fixed length - Initial
Header - Initial
Packet - Packet
- Partial
Decode - Decodes a QUIC packet’s invariant header
- Partial
Encode - Protected
Initial Header - Header of an Initial packet, before decryption
Enums§
- Header
- Long
Header Type - Long packet type including non-uniform cases
- Long
Type - Long packet types with uniform header structure
- Packet
Decode Error - Packet decode error
- Packet
Number - Protected
Header - Plain packet header
- SpaceId
- Packet number space identifiers
Constants§
- FIXED_
BIT - LONG_
HEADER_ FORM - MAX_
PACKET_ NUMBER - The largest packet number a connection can use (RFC 9000 §12.3).
- MAX_
PACKET_ NUMBER_ DISTANCE - How far past the largest acknowledged packet a packet number can still be sent: its 4-byte encoding must cover twice that distance (RFC 9000 §17.1).
- SPIN_
BIT
Traits§
- Connection
IdParser - Parse connection id in short header packet