pub enum H3Frame {
Data(Vec<u8>),
Headers(Vec<u8>),
CancelPush(u64),
Settings(H3Settings),
PushPromise {
push_id: u64,
field_block: Vec<u8>,
},
Goaway(u64),
MaxPushId(u64),
Unknown {
frame_type: u64,
payload: Vec<u8>,
},
}Expand description
HTTP/3 frame representation.
Variants§
Data(Vec<u8>)
DATA frame.
Headers(Vec<u8>)
HEADERS frame (QPACK-encoded header block).
CancelPush(u64)
CANCEL_PUSH frame.
Settings(H3Settings)
SETTINGS frame.
PushPromise
PUSH_PROMISE frame.
Goaway(u64)
GOAWAY frame.
MaxPushId(u64)
MAX_PUSH_ID frame.
Unknown
Unknown frame preserved as raw payload.
Implementations§
Trait Implementations§
impl Eq for H3Frame
impl StructuralPartialEq for H3Frame
Auto Trait Implementations§
impl Freeze for H3Frame
impl RefUnwindSafe for H3Frame
impl Send for H3Frame
impl Sync for H3Frame
impl Unpin for H3Frame
impl UnsafeUnpin for H3Frame
impl UnwindSafe for H3Frame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).