Skip to main content

Module dynamic_table

Module dynamic_table 

Available on crate features http-backend and http and std only.
Expand description

The QPACK dynamic table (RFC 9204 §3.2), shared by the encoder and decoder.

Entries are addressed by absolute index, assigned in insertion order and never reused. The oldest present entry has absolute index dropped(); the next entry to be inserted will have absolute index insert_count(). Reference counts are used only by the encoder, which must not evict an entry still referenced by an unacknowledged field section (RFC 9204 §2.1.1.1); the decoder never adds references, so its eviction is always permitted.

Structs§

DynamicTable
The QPACK dynamic table.

Enums§

InsertError
Why an insertion could not be performed.

Constants§

ENTRY_OVERHEAD
Per-entry overhead added to the name and value lengths for accounting (RFC 9204 §3.2.1).

Functions§

entry_size
The byte size an entry with the given name and value occupies in the table (RFC 9204 §3.2.1).