Enum bitstream_io::huffman::HuffmanTreeError [] [src]

pub enum HuffmanTreeError {
    InvalidBit,
    MissingLeaf,
    DuplicateLeaf,
    OrphanedLeaf,
}

An error type during Huffman tree compilation.

Variants

One of the bits in a Huffman code is not 0 or 1

A Huffman code in the specification has no defined symbol

The same Huffman code specifies multiple symbols

A Huffman code is the prefix of some longer code

Trait Implementations

impl PartialEq for HuffmanTreeError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for HuffmanTreeError
[src]

impl Clone for HuffmanTreeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HuffmanTreeError
[src]

Formats the value using the given formatter.

impl Display for HuffmanTreeError
[src]

Formats the value using the given formatter. Read more