Struct multipart::mock::StdoutTee[][src]

pub struct StdoutTee<'s, W> { /* fields omitted */ }

A Write adapter that duplicates all data written to the inner writer as well as stdout.

Methods

impl<'s, W> StdoutTee<'s, W>
[src]

Constructor

Trait Implementations

impl<'s, W: Write> Write for StdoutTee<'s, 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<'s, W> !Send for StdoutTee<'s, W>

impl<'s, W> Sync for StdoutTee<'s, W> where
    W: Sync