pub enum DecoderError {
InvalidInput,
}
Expand description
Contains error options that can be encountered while performing the decoding operations.
Variants§
InvalidInput
Indicates that the decoder received an invalid Huffman code. This should never happen in the input is encoded according to the HPACK spec.
Trait Implementations§
Source§impl Debug for DecoderError
impl Debug for DecoderError
Source§impl Display for DecoderError
impl Display for DecoderError
Source§impl Error for DecoderError
impl Error for DecoderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DecoderError
impl PartialEq for DecoderError
impl StructuralPartialEq for DecoderError
Auto Trait Implementations§
impl Freeze for DecoderError
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
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