pub enum DecoderError {
HeaderIndexOutOfBounds,
IntegerDecodingError(IntegerDecodingError),
StringDecodingError(StringDecodingError),
InvalidMaxDynamicSize,
SizeUpdateAtEnd,
}Expand description
Represents all errors that can be encountered while performing the decoding of an HPACK header set.
Variants§
HeaderIndexOutOfBounds
IntegerDecodingError(IntegerDecodingError)
StringDecodingError(StringDecodingError)
InvalidMaxDynamicSize
The size of the dynamic table can never be allowed to exceed the max size mandated to the decoder by the protocol. (by performing changes made by SizeUpdate blocks).
SizeUpdateAtEnd
A header block cannot end with a dynamic table size update, it must be treating as a decoding error.
Trait Implementations§
Source§impl Clone for DecoderError
impl Clone for DecoderError
Source§fn clone(&self) -> DecoderError
fn clone(&self) -> DecoderError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecoderError
impl Debug for DecoderError
Source§impl PartialEq for DecoderError
impl PartialEq for DecoderError
impl Copy 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