pub enum DecoderError {
HeaderIndexOutOfBounds,
IntegerDecodingError(IntegerDecodingError),
StringDecodingError(StringDecodingError),
InvalidMaxDynamicSize,
}
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
Trait Implementations§
source§impl Clone for DecoderError
impl Clone for DecoderError
source§fn clone(&self) -> DecoderError
fn clone(&self) -> DecoderError
Returns a copy 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 From<DecoderError> for Http2Error
impl From<DecoderError> for Http2Error
source§fn from(e: DecoderError) -> Self
fn from(e: DecoderError) -> Self
Converts to this type from the input type.
source§impl PartialEq for DecoderError
impl PartialEq for DecoderError
source§fn eq(&self, other: &DecoderError) -> bool
fn eq(&self, other: &DecoderError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DecoderError
impl StructuralPartialEq for DecoderError
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§
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