Struct std::io::Sink [] [src]

pub struct Sink {
    // some fields omitted

A writer which will move data into the void.

This struct is generally created by calling sink(). Please see the documentation of sink() for more details.

Trait Implementations

impl Write for Sink

fn write(&mut self, buf: &[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