Struct buffered_reader::Zlib[][src]

pub struct Zlib<R: BufferedReader<C>, C: Debug + Sync + Send> { /* fields omitted */ }

Decompresses the underlying BufferedReader using the zlib algorithm.

Implementations

impl<R: BufferedReader<()>> Zlib<R, ()>[src]

pub fn new(reader: R) -> Self[src]

Instantiates a new zlib decompression reader.

reader is the source to wrap.

impl<R: BufferedReader<C>, C: Debug + Sync + Send> Zlib<R, C>[src]

Like new(), but uses a cookie.

The cookie can be retrieved using the cookie_ref and cookie_mut methods, and set using the cookie_set method.

Trait Implementations

impl<R: BufferedReader<C>, C: Debug + Send + Sync> BufferedReader<C> for Zlib<R, C>[src]

impl<R: BufferedReader<C>, C: Debug + Sync + Send> Debug for Zlib<R, C>[src]

impl<R: BufferedReader<C>, C: Debug + Sync + Send> Display for Zlib<R, C>[src]

impl<R: BufferedReader<C>, C: Debug + Sync + Send> Read for Zlib<R, C>[src]

Auto Trait Implementations

impl<R, C> !RefUnwindSafe for Zlib<R, C>

impl<R, C> Send for Zlib<R, C>

impl<R, C> Sync for Zlib<R, C>

impl<R, C> Unpin for Zlib<R, C> where
    C: Unpin,
    R: Unpin

impl<R, C> !UnwindSafe for Zlib<R, C>

Blanket Implementations

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

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

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

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.