pub fn validate_max_segments(value: Option<u8>) -> Result<(), Error>Expand description
Validate a configured maximum segment count for a Confirmed-Request header.
Clause 20.1.2.4 has no encoding for a finite capacity below two segments.
To decline segmented responses, set segmented-response-accepted = false
and use None rather than Some(1).