Module profile
quic only.Expand description
Typed, invariant-preserving QUIC wire profiles.
A QuicProfile describes the parts of a connection’s wire image that an implementation
is free to choose: which versions it offers, how it lays out its transport parameters,
how long its connection IDs are, how large and how many its Initial datagrams are, and how
frames are arranged inside them. Every knob is checked when it is set, so a profile can
reproduce another implementation’s first flight but never an invalid one; there is no raw
byte hook.
QuicProfile::standard() supplies the standard descriptor. Browser-specific constructors
in rama-quic are internal test fixtures, not a public profile catalogue. Applications
construct a descriptor with the checked setters or use Rama’s UA selection and replay
support. crate::capture reads a first flight for inspection; it does not automatically
convert observed peer behaviour into a supported replay configuration.
Modules§
- initial
- Validated layouts for an original client Initial burst.
Structs§
- Connection
IdProfile - Connection ID lengths.
- Opaque
Parameter - A transport parameter this crate does not interpret, written as given.
- Packetization
Profile - How packets and datagrams are formed.
- Quic
Profile - A complete wire profile; see the module documentation.
- Transport
Limits - The advertised flow-control and timing limits, as the transport parameters carry them.
- Transport
Parameter Profile - How the transport parameters are laid out.
Enums§
- Grease
Parameter - The reserved parameter written to exercise the peer’s tolerance (RFC 9000 §18.1).
- Initial
Flight Layout - How the frames of a client’s Initial packets are arranged.
- Packet
Number Length - How long packet numbers are encoded.
- Padding
Placement - Where the bytes that bring an Initial datagram up to size go.
- Parameter
Order - The order transport parameters are written in.
- Parameter
Order Entry - One position in a fixed transport-parameter emission order. The GREASE marker is profile policy, never a wire identifier.
- Profile
Error - A value this profile cannot hold.