Enum hpack::decoder::IntegerDecodingError [−][src]
pub enum IntegerDecodingError {
TooManyOctets,
ValueTooLarge,
NotEnoughOctets,
InvalidPrefix,
}Represents all errors that can be encountered while decoding an integer.
Variants
TooManyOctets5.1. specifies that "excessively large integer decodings" MUST be considered an error (whether the size is the number of octets or value). This variant corresponds to the encoding containing too many octets.
ValueTooLargeThe variant corresponds to the case where the value of the integer being decoded exceeds a certain threshold.
NotEnoughOctetsWhen a buffer from which an integer was supposed to be encoded does not contain enough octets to complete the decoding.
InvalidPrefixOnly valid prefixes are [1, 8]
Trait Implementations
impl PartialEq for IntegerDecodingError[src]
impl PartialEq for IntegerDecodingErrorfn eq(&self, other: &IntegerDecodingError) -> bool[src]
fn eq(&self, other: &IntegerDecodingError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for IntegerDecodingError[src]
impl Copy for IntegerDecodingErrorimpl Clone for IntegerDecodingError[src]
impl Clone for IntegerDecodingErrorfn clone(&self) -> IntegerDecodingError[src]
fn clone(&self) -> IntegerDecodingErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for IntegerDecodingError[src]
impl Debug for IntegerDecodingErrorAuto Trait Implementations
impl Send for IntegerDecodingError
impl Send for IntegerDecodingErrorimpl Sync for IntegerDecodingError
impl Sync for IntegerDecodingError