[−][src]Enum httlib_hpack::decoder::DecoderError
Contains error options that can be encountered while performing the decoding of an HPACK header set.
Variants
Indicates that the decoder received an invalid (Huffman) buffer. This should never happen if the input is encoded according to the HPACK spec.
Indicates that an invalid index was provided. According to the HPACK
specification, the index 0
must be treated as an invalid index number.
The first valid number is 1
.
Indicates that an invalid prefix was provided (must be [1, 8]).
Indicates that the value of the integer being decoded exceeds a certain threshold (5 bytes are chosen by this implementation).
Indicates that the buffer from which an integer was supposed to be decode does not contain enough octets to complete the decoding.
Indicates that the decoder received a size that do not follow external protocol rules.
Trait Implementations
impl Debug for DecoderError
[src]
impl Display for DecoderError
[src]
impl Error for DecoderError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<DecoderError> for DecoderError
[src]
fn from(err: HuffmanError) -> Self
[src]
impl PartialEq<DecoderError> for DecoderError
[src]
fn eq(&self, other: &DecoderError) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for DecoderError
[src]
Auto Trait Implementations
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,