pub fn validate_stream(
frame_type: FrameType,
stream_id: u32,
) -> Result<(), ProtocolError>Expand description
Validate stream placement for a known frame type.
ยงErrors
Returns ProtocolError::InvalidStream when stream_id is invalid for
frame_type.