stdin

Function stdin 

Source
pub fn stdin() -> Result<impl BufRead>
Expand description

Construct and lock a new handle to the standard input of the current process.

§Errors

This function always returns Ok(…). The return type is a Result for compatibility with other platforms.