Struct async_std::io::Sink [−][src]
pub struct Sink { /* fields omitted */ }
Expand description
A writer that consumes and drops all data.
This writer is constructed by the sink
function. See its documentation
for more.
Trait Implementations
Attempt to write bytes from buf
into the object.
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
Attempt to close the object.
Attempt to write bytes from bufs
into the object using vectored IO operations.
Writes some bytes into the byte stream. Read more
Flushes the stream to ensure that all buffered contents reach their destination. Read more
Writes an entire buffer into the byte stream. Read more