pub enum Http2HeaderBlockSequenceError {
MalformedFragment(Http2ParseError),
UnexpectedContinuation {
actual_stream_id: u32,
},
WrongContinuationStream {
expected_stream_id: u32,
actual_stream_id: u32,
},
InterleavedFrame {
expected_stream_id: u32,
actual_stream_id: u32,
actual_frame_type: Http2FrameType,
},
}Expand description
Failure to preserve HTTP/2 header-block fragment ordering.
Variants§
MalformedFragment(Http2ParseError)
A typed header-block fragment has an invalid intrinsic layout.
UnexpectedContinuation
A CONTINUATION arrived while no header block was open.
WrongContinuationStream
A CONTINUATION arrived on a stream other than the locked stream.
Fields
InterleavedFrame
A non-CONTINUATION frame interrupted an incomplete header block.
Trait Implementations§
impl Copy for Http2HeaderBlockSequenceError
impl Eq for Http2HeaderBlockSequenceError
impl StructuralPartialEq for Http2HeaderBlockSequenceError
Auto Trait Implementations§
impl Freeze for Http2HeaderBlockSequenceError
impl RefUnwindSafe for Http2HeaderBlockSequenceError
impl Send for Http2HeaderBlockSequenceError
impl Sync for Http2HeaderBlockSequenceError
impl Unpin for Http2HeaderBlockSequenceError
impl UnsafeUnpin for Http2HeaderBlockSequenceError
impl UnwindSafe for Http2HeaderBlockSequenceError
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