[][src]Struct flate2::CrcWriter

pub struct CrcWriter<W> { /* fields omitted */ }

A wrapper around a Write that calculates the CRC.

Methods

impl<W> CrcWriter<W>
[src]

Get the Crc for this CrcWriter.

Get the writer that is wrapped by this CrcWriter.

Important traits for &'a mut R

Get the writer that is wrapped by this CrcWriter by reference.

Important traits for &'a mut R

Get a mutable reference to the writer that is wrapped by this CrcWriter.

Reset the Crc in this CrcWriter.

impl<W: Write> CrcWriter<W>
[src]

Important traits for CrcWriter<W>

Create a new CrcWriter.

Trait Implementations

impl<W: Debug> Debug for CrcWriter<W>
[src]

Formats the value using the given formatter. Read more

impl<W: Write> Write for CrcWriter<W>
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Important traits for &'a mut R

Creates a "by reference" adaptor for this instance of Write. Read more

Auto Trait Implementations

impl<W> Send for CrcWriter<W> where
    W: Send

impl<W> Sync for CrcWriter<W> where
    W: Sync

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more