Enum bitstream_io::huffman::HuffmanTreeError
[−]
[src]
pub enum HuffmanTreeError {
InvalidBit,
MissingLeaf,
DuplicateLeaf,
OrphanedLeaf,
}An error type during Huffman tree compilation.
Variants
InvalidBitOne of the bits in a Huffman code is not 0 or 1
MissingLeafA Huffman code in the specification has no defined symbol
DuplicateLeafThe same Huffman code specifies multiple symbols
OrphanedLeafA 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) -> bool1.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