Enum bitstream_io::huffman::HuffmanTreeError
[−]
[src]
pub enum HuffmanTreeError { InvalidBit, MissingLeaf, DuplicateLeaf, OrphanedLeaf, }
An error type during Huffman tree compilation.
Variants
InvalidBit
One of the bits in a Huffman code is not 0 or 1
MissingLeaf
A Huffman code in the specification has no defined symbol
DuplicateLeaf
The same Huffman code specifies multiple symbols
OrphanedLeaf
A Huffman code is the prefix of some longer code
Trait Implementations
impl PartialEq for HuffmanTreeError
[src]
fn eq(&self, __arg_0: &HuffmanTreeError) -> 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 HuffmanTreeError
[src]
impl Clone for HuffmanTreeError
[src]
fn clone(&self) -> HuffmanTreeError
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