Function tokio::io::stdin

source · [−]
pub fn stdin() -> StdinⓘNotable traits for Stdinimpl Read for Stdin
Expand description

Constructs a new handle to the standard input of the current process.

The returned handle allows reading from standard input from the within the Tokio runtime.