Struct std::io::Sink1.0.0 [] [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
[src]

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