Http3StreamType
struct Http3StreamTypeRFC 9114 §6.2 unidirectional stream types.
Each uni stream's first varint is the stream type; the reader dispatches on this varint to the matching internal state machine (control / push / qpack-enc / qpack-dec).
Implements Movable
comptime CONTROL = Int(0)RFC 9114 §6.2.1 -- control stream. Carries SETTINGS, GOAWAY, MAX_PUSH_ID. Exactly one per direction.
comptime PUSH = Int(1)RFC 9114 §6.2.2 -- push stream. Server-initiated. Deprecated as of RFC 9114 revision 9; this codepoint is carried so the reader can reject incoming push streams with H3_STREAM_CREATION_ERROR.
comptime QPACK_ENCODER = Int(2)RFC 9204 §4.2 -- QPACK encoder stream. Carries dynamic- table insert instructions.
comptime QPACK_DECODER = Int(3)RFC 9204 §4.2 -- QPACK decoder stream. Carries section-acknowledgement + stream-cancellation instructions.