Enum hpack::huffman::HuffmanDecoderError [−][src]
pub enum HuffmanDecoderError {
PaddingTooLarge,
InvalidPadding,
EOSInString,
}Represents the error variants that the HuffmanDecoder can return.
Variants
PaddingTooLargeAny padding strictly larger than 7 bits MUST be interpreted as an error
InvalidPaddingAny padding that does not correspond to the most significant bits of EOS MUST be interpreted as an error.
EOSInStringIf EOS is ever found in the string, it causes an error.
Trait Implementations
impl PartialEq for HuffmanDecoderError[src]
impl PartialEq for HuffmanDecoderErrorfn eq(&self, other: &HuffmanDecoderError) -> bool[src]
fn eq(&self, other: &HuffmanDecoderError) -> 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 HuffmanDecoderError[src]
impl Copy for HuffmanDecoderErrorimpl Clone for HuffmanDecoderError[src]
impl Clone for HuffmanDecoderErrorfn clone(&self) -> HuffmanDecoderError[src]
fn clone(&self) -> HuffmanDecoderErrorReturns 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 HuffmanDecoderErrorAuto Trait Implementations
impl Send for HuffmanDecoderError
impl Send for HuffmanDecoderErrorimpl Sync for HuffmanDecoderError
impl Sync for HuffmanDecoderError