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

Derived Implementations

impl PartialEq for HuffmanDecoderError

fn eq(&self, arg_0: &HuffmanDecoderError) -> bool

fn ne(&self, arg_0: &HuffmanDecoderError) -> bool

impl Copy for HuffmanDecoderError

impl Clone for HuffmanDecoderError

fn clone(&self) -> HuffmanDecoderError

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for HuffmanDecoderError

fn fmt(&self, arg_0: &mut Formatter) -> Result