Module wasi_common::pipe[][src]

Virtual pipes.

These types provide easy implementations of WasiFile that mimic much of the behavior of Unix pipes. These are particularly helpful for redirecting WASI stdio handles to destinations other than OS files.

Some convenience constructors are included for common backing types like Vec<u8> and String, but the virtual pipes can be instantiated with any Read or Write type.

Structs

ReadPipe

A virtual pipe read end.

WritePipe

A virtual pipe write end.