pub enum StreamKind {
Control,
QPackEncoder,
QPackDecoder,
WebTransport,
Exercise(VarInt),
}Expand description
An HTTP3 stream type.
Variants§
Control
CONTROL stream type.
QPackEncoder
QPACK Encoder stream type.
QPackDecoder
QPACK Decoder stream type.
WebTransport
WebTransport stream type.
Exercise(VarInt)
Exercise stream.
Implementations§
Source§impl StreamKind
impl StreamKind
Sourcepub const fn is_id_exercise(id: VarInt) -> bool
pub const fn is_id_exercise(id: VarInt) -> bool
Checks whether an id is valid for a StreamKind::Exercise.
Trait Implementations§
Source§impl Clone for StreamKind
impl Clone for StreamKind
Source§fn clone(&self) -> StreamKind
fn clone(&self) -> StreamKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamKind
impl Debug for StreamKind
impl Copy for StreamKind
Auto Trait Implementations§
impl Freeze for StreamKind
impl RefUnwindSafe for StreamKind
impl Send for StreamKind
impl Sync for StreamKind
impl Unpin for StreamKind
impl UnwindSafe for StreamKind
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