Module wasi_common::pipe

source ·
Expand description

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§