pub enum Frame {
Headers(Bytes),
Settings(Settings),
Goaway(u64),
CancelPush(u64),
MaxPushId(u64),
PushPromise,
}Expand description
A fully received non-DATA frame.
Variants§
Headers(Bytes)
An encoded field section (RFC 9114 §7.2.2), still QPACK-encoded.
Settings(Settings)
The peer’s settings, reduced to the one this server acts on.
Goaway(u64)
GOAWAY with the identifier the peer will not serve past.
CancelPush(u64)
CANCEL_PUSH with its push ID, which a server that never pushes can only ever find unpromised (RFC 9114 §7.2.3).
MaxPushId(u64)
MAX_PUSH_ID with its push ID, which may grow but never shrink (RFC 9114 §7.2.7).
PushPromise
PUSH_PROMISE, which a server must never receive (RFC 9114 §7.2.5).
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<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