Indicate that the producer of the bytestream has failed.
Indicate that the producer of the bytestream has failed. No further writes are allowed.
Write a chunk.
Write a chunk. The returned future is completed when the chunk has been fully read by the sink.
Only one outstanding write
is permitted, thus
backpressure is asserted.
A Writer represents a sink for a stream of bytes, providing a convenient interface for the producer of such streams.