pub enum QpackError {
DecompressionFailed,
EncoderStream,
DecoderStream,
}h3 only.Expand description
Errors raised while QPACK state is inconsistent or a representation is malformed.
DecompressionFailed is produced by field section decoding, the other
two by processing of the peer’s respective QPACK stream. All three are
fatal for the connection: there is no way to resynchronize.
Variants§
DecompressionFailed
QPACK_DECOMPRESSION_FAILED (0x0200): a field section could not be
decoded, or references an entry that is evicted or out of range, or
exceeds the advertised SETTINGS_MAX_FIELD_SECTION_SIZE.
EncoderStream
QPACK_ENCODER_STREAM_ERROR (0x0201): an encoder stream instruction
was malformed or violated table constraints.
DecoderStream
QPACK_DECODER_STREAM_ERROR (0x0202): a decoder stream instruction
was malformed. Kept so QpackError::code mirrors the full error
family; this implementation only emits decoder stream instructions,
it never parses them, so the variant is never constructed.
Implementations§
Trait Implementations§
Source§impl Clone for QpackError
impl Clone for QpackError
Source§fn clone(&self) -> QpackError
fn clone(&self) -> QpackError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more