Module sluice::pipe[][src]

Asynchronous in-memory byte buffers aimed at producer-consumer problems.

Pipes are like byte-oriented channels that implement I/O traits for reading and writing.

Structs

PipeReader

The reading end of an asynchronous pipe.

PipeWriter

The writing end of an asynchronous pipe.

Functions

pipe

Creates a new asynchronous pipe with the default configuration.