Struct std::io::Broadcast [] [src]

pub struct Broadcast<T, U> {
    // some fields omitted
}
Unstable

: awaiting stability of Write::broadcast

A Write adaptor which will write data to multiple locations.

For more information, see Write::broadcast.

Trait Implementations

impl<T: Write, U: Write> Write for Broadcast<T, U>

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

fn flush(&mut self) -> Result<()>

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

fn write_fmt(&mut self, fmt: Arguments) -> Result<()>

fn by_ref(&mut self) -> &mut Self where Self: Sized

fn broadcast<W: Write>(self, other: W) -> Broadcast<Self, W> where Self: Sized