Module pipe

Source
Available on crate feature io-pipe only.
Expand description

A unidirectional pipe for bytes, analogous to a unix pipe. Available with the io-pipe feature toggle.

Structs§

Reader
The read-end of the pipe, implementing the std::io::Read trait.
Writer
The write-end of the pipe, receiving items to become available in the Reader.

Functions§

unidirectional
Returns the (write, read) ends of a pipe for transferring bytes, analogous to a unix pipe.