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

Formats the value using the given formatter. Read more

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

Like write, except that it writes from a slice of buffers. Read more

Writes an entire buffer into the byte stream. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.