Module pipe

Source
Expand description

Async byte stream pipe.

Structs§

DynamicFillBufFuture
Future returned by [DynamicPipe::fill_buf] and DynamicReader::fill_buf.
DynamicReadFuture
Future returned by Pipe::read and Reader::read.
DynamicReader
Read-only access to a [DynamicPipe].
DynamicWriteFuture
Future returned by DynamicWriter::write.
DynamicWriter
Write-only access to a [DynamicPipe].
FillBufFuture
Future returned by [Pipe::fill_buf] and Reader::fill_buf.
Pipe
A bounded byte-oriented pipe for communicating between asynchronous tasks with backpressure.
ReadFuture
Future returned by Pipe::read and Reader::read.
Reader
Read-only access to a Pipe.
WriteFuture
Future returned by Pipe::write and Writer::write.
Writer
Write-only access to a Pipe.

Enums§

TryReadError
Error returned by try_read.
TryWriteError
Error returned by try_write.