stdin

Function stdin 

Source
pub fn stdin() -> MutexGuard<'static, InputStream<BufReader<Stdin>>>
Expand description

Get an exclusive handle to the standard input stream.

See io::stdin and io::Stdin::lock for more information.

ยงPanics

This function will panic if the standard input stream is already locked by current thread, or if the standard input stream is poisoned.