pub enum FrameKind {
Data,
Headers,
Settings,
WebTransport,
Exercise(VarInt),
}Expand description
An HTTP3 Frame type.
Variants§
Data
DATA frame type.
Headers
HEADERS frame type.
Settings
SETTINGS frame type.
WebTransport
WebTransport frame type.
Exercise(VarInt)
Exercise frame.
Implementations§
Source§impl FrameKind
impl FrameKind
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 FrameKind::Exercise.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameKind
impl RefUnwindSafe for FrameKind
impl Send for FrameKind
impl Sync for FrameKind
impl Unpin for FrameKind
impl UnwindSafe for FrameKind
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