Skip to main content

validate_stream

Function validate_stream 

Source
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.