Crate rw_stream_sink[−][src]
Expand description
This crate provides the RwStreamSink type. It wraps around a Stream
and Sink that produces and accepts byte arrays, and implements
AsyncRead and AsyncWrite.
Each call to AsyncWrite::poll_write will send one packet to the sink.
Calls to [AsyncRead::read] will read from the stream’s incoming packets.
Structs
Wraps a Stream and Sink whose items are buffers.
Implements AsyncRead and AsyncWrite.