[][src]Trait compression::prelude::Decoder

pub trait Decoder where
    CompressionError: From<Self::Error>, 
{ type Error; type Input; type Output; fn next<I: Iterator<Item = Self::Input>>(
        &mut self,
        iter: &mut I
    ) -> Option<Result<Self::Output, Self::Error>>; }

Associated Types

type Error

type Input

type Output

Loading content...

Required methods

fn next<I: Iterator<Item = Self::Input>>(
    &mut self,
    iter: &mut I
) -> Option<Result<Self::Output, Self::Error>>

Loading content...

Implementors

impl Decoder for BZip2Decoder[src]

type Input = u8

type Output = u8

type Error = BZip2Error

impl Decoder for Deflater[src]

type Input = u8

type Output = u8

type Error = CompressionError

impl Decoder for GZipDecoder[src]

type Input = u8

type Output = u8

type Error = CompressionError

impl Decoder for LzhufDecoder[src]

type Input = u8

type Output = u8

type Error = CompressionError

impl Decoder for LzssDecoder[src]

type Input = LzssCode

type Error = CompressionError

type Output = u8

impl Decoder for ZlibDecoder[src]

type Input = u8

type Output = u8

type Error = CompressionError

Loading content...