Enum hpack::huffman::HuffmanDecoderError
[−]
[src]
pub enum HuffmanDecoderError { PaddingTooLarge, InvalidPadding, EOSInString, }
Represents the error variants that the HuffmanDecoder
can return.
Variants
PaddingTooLarge
Any padding strictly larger than 7 bits MUST be interpreted as an error
InvalidPadding
Any padding that does not correspond to the most significant bits of EOS MUST be interpreted as an error.
EOSInString
If EOS is ever found in the string, it causes an error.
Trait Implementations
impl PartialEq for HuffmanDecoderError
[src]
fn eq(&self, __arg_0: &HuffmanDecoderError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for HuffmanDecoderError
[src]
impl Clone for HuffmanDecoderError
[src]
fn clone(&self) -> HuffmanDecoderError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more