pub enum ParseErrorKind {
Show 17 variants
Http2BufferTooSmall,
Http2HpackError(String),
Http2HeadersIncomplete,
Http2HeaderListTooLarge,
Http2NoMethod,
Http2NoPath,
Http2NoStatus,
Http2InvalidFrame,
Http2MaxConcurrentStreams,
Http2PaddingError,
Http2PriorityError,
Http2StreamNotFound,
Http2InvalidHeaderEncoding,
Http2BufferTooLarge,
Http2FrameSizeError,
Http2ContinuationExpected,
Http2SettingsLengthError,
}Expand description
Classification of parse errors (public API)
Variants§
Http2BufferTooSmall
Frame header requires 9 bytes but the buffer is shorter
Http2HpackError(String)
HPACK decompression failed (detail in the String)
Http2HeadersIncomplete
HEADERS block is split across CONTINUATION frames that have not all arrived yet
Http2HeaderListTooLarge
Decoded header list exceeds the configured size limit
Http2NoMethod
Request stream completed without a :method pseudo-header
Http2NoPath
Request stream completed without a :path pseudo-header
Http2NoStatus
Response stream completed without a :status pseudo-header
Http2InvalidFrame
Frame could not be classified or has an invalid structure
Http2MaxConcurrentStreams
Rejected because max concurrent streams limit was reached
Http2PaddingError
Padded frame has missing or invalid padding
Http2PriorityError
PRIORITY flag present but header block too short for priority fields
Http2StreamNotFound
DATA or CONTINUATION frame references a stream that does not exist
Http2InvalidHeaderEncoding
Header contains invalid UTF-8 encoding
Http2BufferTooLarge
Internal buffer would exceed the configured max_buffer_size
Http2FrameSizeError
Frame payload length exceeds the negotiated max_frame_size
Http2ContinuationExpected
Expected a CONTINUATION frame but received a different frame type or wrong stream
Http2SettingsLengthError
SETTINGS frame payload length is not a multiple of 6 bytes
Trait Implementations§
Source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
Source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more