pub enum FrameType {
Data,
Headers,
Priority,
RstStream,
Settings,
PushPromise,
Ping,
GoAway,
WindowUpdate,
Continuation,
PriorityUpdate,
Unknown(u8),
}Variants§
Data
Headers
Priority
RstStream
Settings
PushPromise
Ping
GoAway
WindowUpdate
Continuation
PriorityUpdate
RFC 9218 §7.1 — PRIORITY_UPDATE frame (type 0x10). Carries a new
priority signal for a prioritized stream, replacing the deprecated
Priority frame at the connection level.
Unknown(u8)
Frame of unknown type per RFC 9113 §5.5. Implementations MUST ignore
and discard these frames so future H2 extensions do not break
interoperability. The associated u8 is the raw type byte for
diagnostics only.
Trait Implementations§
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnsafeUnpin for FrameType
impl UnwindSafe for FrameType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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