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

pub struct Broadcast<T, U> {
    // some fields omitted
}
Deprecated since 1.6.0

: error handling semantics unclear and don't seem to have an ergonomic resolution

A Write adaptor which will write data to multiple locations.

This struct is generally created by calling broadcast() on a writer. Please see the documentation of broadcast() for more details.

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