pub enum Frame {
Data(Data),
Headers(Headers),
Priority(Priority),
RstStream(RstStream),
Settings(Settings),
PushPromise(PushPromise),
Ping(Ping),
GoAway(GoAway),
WindowUpdate(WindowUpdate),
Continuation(Continuation),
PriorityUpdate(PriorityUpdate),
Unknown(u8),
}Variants§
Data(Data)
Headers(Headers)
Priority(Priority)
RstStream(RstStream)
Settings(Settings)
PushPromise(PushPromise)
Ping(Ping)
GoAway(GoAway)
WindowUpdate(WindowUpdate)
Continuation(Continuation)
PriorityUpdate(PriorityUpdate)
RFC 9218 §7.1 PRIORITY_UPDATE — connection-scoped signal that re-prioritizes a specific stream. Payload carries the prioritized stream ID and the verbatim priority field value (structured field).
Unknown(u8)
Unknown frame type (RFC 9113 §5.5) — payload already consumed, the state machine MUST ignore it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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