pub fn decode_settings(
payload: &[u8],
limits: Limits,
) -> Result<Vec<(u64, u64)>, DecodeError>Expand description
Decodes a SETTINGS payload into (identifier, value) pairs.
§Errors
TooLarge "frame" for a payload above Limits::max_frame_size,
checked before parsing; Malformed "SETTINGS" for a truncated pair,
"duplicate setting", or "HTTP/2 setting in HTTP/3" for identifiers
0x2 to 0x5 (RFC 9114 §7.2.4.1), all H3_SETTINGS_ERROR.