pub enum HuffmanDecoderError {
PaddingTooLarge,
InvalidPadding,
EOSInString,
}
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§
source§impl Clone for HuffmanDecoderError
impl Clone for HuffmanDecoderError
source§fn clone(&self) -> HuffmanDecoderError
fn clone(&self) -> HuffmanDecoderError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HuffmanDecoderError
impl Debug for HuffmanDecoderError
source§impl From<HuffmanDecoderError> for Http2Error
impl From<HuffmanDecoderError> for Http2Error
source§fn from(e: HuffmanDecoderError) -> Self
fn from(e: HuffmanDecoderError) -> Self
Converts to this type from the input type.
source§impl PartialEq<HuffmanDecoderError> for HuffmanDecoderError
impl PartialEq<HuffmanDecoderError> for HuffmanDecoderError
source§fn eq(&self, other: &HuffmanDecoderError) -> bool
fn eq(&self, other: &HuffmanDecoderError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HuffmanDecoderError
impl StructuralPartialEq for HuffmanDecoderError
Auto Trait Implementations§
impl RefUnwindSafe for HuffmanDecoderError
impl Send for HuffmanDecoderError
impl Sync for HuffmanDecoderError
impl Unpin for HuffmanDecoderError
impl UnwindSafe for HuffmanDecoderError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more