Enum ntex_h2::hpack::DecoderError
source · [−]pub enum DecoderError {
InvalidRepresentation,
InvalidIntegerPrefix,
InvalidTableIndex,
InvalidHuffmanCode,
InvalidUtf8,
InvalidStatusCode,
InvalidPseudoheader,
InvalidMaxDynamicSize,
IntegerOverflow,
NeedMore(NeedMore),
}Expand description
Represents all errors that can be encountered while performing the decoding of an HPACK header set.
Variants
InvalidRepresentation
InvalidIntegerPrefix
InvalidTableIndex
InvalidHuffmanCode
InvalidUtf8
InvalidStatusCode
InvalidPseudoheader
InvalidMaxDynamicSize
IntegerOverflow
NeedMore(NeedMore)
Trait Implementations
sourceimpl Clone for DecoderError
impl Clone for DecoderError
sourcefn clone(&self) -> DecoderError
fn clone(&self) -> DecoderError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DecoderError
impl Debug for DecoderError
sourceimpl Display for DecoderError
impl Display for DecoderError
sourceimpl Error for DecoderError
impl Error for DecoderError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<()> for DecoderError
impl From<()> for DecoderError
sourcefn from(_: ()) -> DecoderError
fn from(_: ()) -> DecoderError
Converts to this type from the input type.
sourceimpl From<DecoderError> for FrameError
impl From<DecoderError> for FrameError
sourcefn from(source: DecoderError) -> Self
fn from(source: DecoderError) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidHeaderName> for DecoderError
impl From<InvalidHeaderName> for DecoderError
sourcefn from(_: InvalidHeaderName) -> DecoderError
fn from(_: InvalidHeaderName) -> DecoderError
Converts to this type from the input type.
sourceimpl From<InvalidHeaderValue> for DecoderError
impl From<InvalidHeaderValue> for DecoderError
sourcefn from(_: InvalidHeaderValue) -> DecoderError
fn from(_: InvalidHeaderValue) -> DecoderError
Converts to this type from the input type.
sourceimpl From<InvalidMethod> for DecoderError
impl From<InvalidMethod> for DecoderError
sourcefn from(_: InvalidMethod) -> DecoderError
fn from(_: InvalidMethod) -> DecoderError
Converts to this type from the input type.
sourceimpl From<InvalidStatusCode> for DecoderError
impl From<InvalidStatusCode> for DecoderError
sourcefn from(_: InvalidStatusCode) -> DecoderError
fn from(_: InvalidStatusCode) -> DecoderError
Converts to this type from the input type.
sourceimpl From<Utf8Error> for DecoderError
impl From<Utf8Error> for DecoderError
sourcefn from(_: Utf8Error) -> DecoderError
fn from(_: Utf8Error) -> DecoderError
Converts to this type from the input type.
sourceimpl PartialEq<DecoderError> for DecoderError
impl PartialEq<DecoderError> for DecoderError
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &DecoderError) -> bool
fn ne(&self, other: &DecoderError) -> bool
This method tests for !=.
impl Copy for DecoderError
impl Eq for DecoderError
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more