Struct std::io::TeeUnstable [-] [+] [src]

pub struct Tee<R, W> {
    // some fields omitted
}

An adaptor which will emit all read data to a specified writer as well.

For more information see ReadExt::tee

Trait Implementations

impl<R: Read, W: Write> Read for Tee<R, W>

fn read(&mut self, buf: &mut [u8]) -> Result<usize>

fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<()>

fn read_to_string(&mut self, buf: &mut String) -> Result<()>