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]
impl PartialEq for HuffmanDecoderError
fn eq(&self, other: &HuffmanDecoderError) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for HuffmanDecoderError
[src]
impl Copy for HuffmanDecoderError
impl Clone for HuffmanDecoderError
[src]
impl Clone for HuffmanDecoderError
fn clone(&self) -> HuffmanDecoderError
[src]
fn clone(&self) -> HuffmanDecoderError
Returns 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 HuffmanDecoderError
[src]
impl Debug for HuffmanDecoderError
Auto Trait Implementations
impl Send for HuffmanDecoderError
impl Send for HuffmanDecoderError
impl Sync for HuffmanDecoderError
impl Sync for HuffmanDecoderError