Struct progress_streams::ProgressWriter[][src]

pub struct ProgressWriter<W: Write, C: Fn(usize)> { /* fields omitted */ }

Callback-based progress-monitoring writer.

Methods

impl<W: Write, C: Fn(usize)> ProgressWriter<W, C>
[src]

Trait Implementations

impl<W: Write, C: Fn(usize)> Write for ProgressWriter<W, C>
[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

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

Auto Trait Implementations

impl<W, C> Send for ProgressWriter<W, C> where
    C: Send,
    W: Send

impl<W, C> Sync for ProgressWriter<W, C> where
    C: Sync,
    W: Sync