[][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 W

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

Important traits for &'a mut W

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 W

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