read_stdin

Function read_stdin 

Source
pub fn read_stdin(arena: &Arena, timeout: Duration) -> Option<ArenaString<'_>>
Expand description

Reads from stdin.

Returns None if there was an error reading from stdin. Returns Some("") if the given timeout was reached. Otherwise, it returns the read, non-empty string.