Skip to main content

read_stdin

Function read_stdin 

Source
pub fn read_stdin() -> Result<String>
Expand description

Read all of stdin into a string. Returns an error if stdin is a terminal (not piped).