Skip to main content

Module structured_fields

Module structured_fields 

Available on crate features http and std only.
Expand description

Allocation-free dictionary projection for RFC 9651.

This deliberately exposes only the values needed by dictionary consumers such as HTTP Priority. Parameters and inner-list contents are fully validated and skipped. Borrowed textual variants retain their wire encoding (including escapes), not a decoded value. Parsing takes linear time and constant auxiliary space; inner lists cannot nest. This is not a general structured-field serializer or object model.

Structs§

ParseError
Malformed structured-field syntax.

Enums§

BareItem
A validated bare item. Textual values borrow their wire representation, without delimiters.
DictionaryValue
A dictionary member, with parameters validated but omitted.

Functions§

parse_dictionary
Validate a complete dictionary, projecting each member into visit in wire order.