Expand description
“Borrow” the stdio streams temporarily, exposing them to a Tokio core as nonblocking streams.
As in many such implementations, the I/O is made nonblocking by spawning threads to interact with the stdin and stdout streams. These exchange data with the calling thread through futures channels.
Structs§
- Stdin
Stream - A futures-based stream of bytes from standard input.
- Stdout
Sink - A futures-based sink of bytes intended for standard output.
Functions§
- borrow_
stdio - “Borrow” the stdio streams to make them accessible to Tokio.