pub fn parse_stream_request_ext(
remainder: &[u8],
) -> Result<StreamRequestExt, Error>Expand description
Parse the trailing StreamRequestExt bytes returned as the remainder by
crate::decode_message after a ClientMessage::StreamRequest.
An empty remainder ⇒ StreamRequestExt::default (no client binding, no
capability). Trailing bytes beyond the known fields are tolerated for
forward compatibility (ADR 013 §Tier 1): a future optional field appended to
StreamRequestExt is read by new receivers and skipped by old ones.
§Errors
Returns a postcard::Error if a non-empty remainder is not a valid
StreamRequestExt prefix.