Function tokio::io::stdin

source ·
pub fn stdin() -> 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.