pub struct Continuation;Expand description
Continuation frames are handled inline during HEADERS parsing. The
wire-level parser does not track connection state (whether the previous
frame was HEADERS/PUSH_PROMISE with END_HEADERS=0), so standalone
CONTINUATION is rejected at the h2 state-machine layer
(handle_header_state): when a CONTINUATION frame header is observed
while the state is H2State::Header (i.e. no header block is in
progress) we emit GOAWAY(PROTOCOL_ERROR) per RFC 9113 §6.10.
Trait Implementations§
Source§impl Clone for Continuation
impl Clone for Continuation
Source§fn clone(&self) -> Continuation
fn clone(&self) -> Continuation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Continuation
impl RefUnwindSafe for Continuation
impl Send for Continuation
impl Sync for Continuation
impl Unpin for Continuation
impl UnsafeUnpin for Continuation
impl UnwindSafe for Continuation
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