[][src]Struct buffered_reader::Bzip

pub struct Bzip<R: BufferedReader<C>, C> { /* fields omitted */ }

Decompresses the underlying BufferedReader using the bzip2 algorithm.

Methods

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

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

Instantiates a new bzip decompression reader.

reader is the source to wrap.

impl<R: BufferedReader<C>, C> Bzip<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> BufferedReader<C> for Bzip<R, C>[src]

impl<R: BufferedReader<C>, C> Debug for Bzip<R, C>[src]

impl<R: BufferedReader<C>, C> Display for Bzip<R, C>[src]

impl<R: BufferedReader<C>, C> Read for Bzip<R, C>[src]

Auto Trait Implementations

impl<R, C> RefUnwindSafe for Bzip<R, C> where
    C: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, C> Send for Bzip<R, C> where
    C: Send,
    R: Send

impl<R, C> Sync for Bzip<R, C> where
    C: Sync,
    R: Sync

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

impl<R, C> UnwindSafe for Bzip<R, C> where
    C: UnwindSafe,
    R: UnwindSafe

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.