pub fn stdin() -> Stdin
Constructs a new handle to the standard input of the current process.
Each handle returned is a reference to a shared global buffer whose access
is synchronized via a mutex. If you need more explicit control over
locking, see the
When operating in a console, the Windows implementation of this stream does not support non-UTF-8 byte sequences. Attempting to read bytes that are not valid UTF-8 will return an error.