pub enum Http3PeerUniStreamEvent {
Control {
stream_id: Http3StreamId,
},
Push {
stream_id: Http3StreamId,
push_id: Http3PushId,
},
QpackEncoder {
stream_id: Http3StreamId,
},
QpackDecoder {
stream_id: Http3StreamId,
},
Unknown {
stream_id: Http3StreamId,
stream_type: Http3StreamType,
},
}Expand description
The outcome of accepting an incoming peer unidirectional stream header.
Critical events hand the stream remainder to its existing owner. Push events hand the Push ID to future push-lifecycle state; unknown events preserve the extension stream type for caller policy.
Variants§
Control
The peer’s unique HTTP/3 control stream.
Fields
§
stream_id: Http3StreamIdQUIC stream identifier.
Push
A server push stream received by a client.
Fields
§
stream_id: Http3StreamIdQUIC stream identifier.
§
push_id: Http3PushIdPush ID carried by the stream header.
QpackEncoder
The peer’s unique QPACK encoder stream.
Fields
§
stream_id: Http3StreamIdQUIC stream identifier.
QpackDecoder
The peer’s unique QPACK decoder stream.
Fields
§
stream_id: Http3StreamIdQUIC stream identifier.
Unknown
An extension, unknown, or GREASE stream that remains caller-owned.
Fields
§
stream_id: Http3StreamIdQUIC stream identifier.
§
stream_type: Http3StreamTypeRaw HTTP/3 unidirectional stream type.
Trait Implementations§
Source§impl Clone for Http3PeerUniStreamEvent
impl Clone for Http3PeerUniStreamEvent
impl Copy for Http3PeerUniStreamEvent
Source§impl Debug for Http3PeerUniStreamEvent
impl Debug for Http3PeerUniStreamEvent
impl Eq for Http3PeerUniStreamEvent
Source§impl PartialEq for Http3PeerUniStreamEvent
impl PartialEq for Http3PeerUniStreamEvent
impl StructuralPartialEq for Http3PeerUniStreamEvent
Auto Trait Implementations§
impl Freeze for Http3PeerUniStreamEvent
impl RefUnwindSafe for Http3PeerUniStreamEvent
impl Send for Http3PeerUniStreamEvent
impl Sync for Http3PeerUniStreamEvent
impl Unpin for Http3PeerUniStreamEvent
impl UnsafeUnpin for Http3PeerUniStreamEvent
impl UnwindSafe for Http3PeerUniStreamEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more