Expand description
Inline control stream parser.
Buffers raw bytes from the forwarding loop and decodes complete MoQT control messages without modifying the forwarded data.
Everything the parser framed comes back, decoded or not. A frame whose
declared length is intact but whose body the decoder refuses is a
ParsedItem::Refused carrying its bytes, not a gap: on the mutating
control pipe this parser is the forwarding path, so a refusal it kept
to itself would delete a control message from the wire and desynchronize
the peer’s view of the session.
Structs§
- Control
Stream Parser - Stateful inline parser for a MoQT control stream.
- Parsed
Frame - A successfully parsed control frame.
- Refused
Frame - A frame the parser located but the decoder refused.
Enums§
- Parse
Result - Result of feeding bytes to the control stream parser.
- Parsed
Item - One thing the parser framed, in wire order.