Re-exports§
pub use tokio::io::Stderr;pub use tokio::io::Stdin;pub use tokio::io::Stdout;pub use tokio::io::stderr;pub use tokio::io::stdin;pub use tokio::io::stdout;
Structs§
- Async
Stdin Stream - An impl of
StdinStreambuilt on top ofAsyncRead. - Async
Stdout Stream - A wrapper of
crate::p2::pipe::AsyncWriteStreamthat implementsStdoutStream. Note that theOutputStreamimpl for this is not correct when used for interleaved async IO. - Input
File - This implementation will yield input streams that block on reads, and
reads directly from a file. If truly async input is required,
[
AsyncStdinStream] should be used instead. - Output
File - This implementation will yield output streams that block on writes, and
output directly to a file. If truly async output is required, [
AsyncStdoutStream] should be used instead. - WasiCli
- A helper struct which implements
HasDatafor thewasi:cliAPIs. - Wasi
CliCtx - Wasi
CliCtx View
Traits§
- IsTerminal
- Stdin
Stream - A trait used to represent the standard input to a guest program.
- Stdout
Stream - Similar to
StdinStream, except for output. - Wasi
CliView - Provides a “view” of
wasi:cli-related context used to implement host traits.