[][src]Struct libstomper::huffman::Huffman

pub struct Huffman;

Trait Implementations

impl Compressor for Huffman[src]

fn encode<R: Read + Seek, W: Write + Seek>(
    input: &mut R,
    output: &mut W
) -> Result<(), Box<dyn Error>>
[src]

encode data with huffman code

fn decode<R: Read + Seek, W: Write + Seek>(
    input: &mut R,
    output: &mut W
) -> Result<(), Box<dyn Error>>
[src]

decode data with huffman code

Auto Trait Implementations

impl Send for Huffman

impl Unpin for Huffman

impl Sync for Huffman

impl UnwindSafe for Huffman

impl RefUnwindSafe for Huffman

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]