pub fn read_stdin_with_timeout(secs: u64) -> Result<String, AppError>Expand description
Reads stdin to a String with a hard deadline.
ยงErrors
Returns AppError::Internal when the read does not finish within
secs seconds, or AppError::Io when the underlying read fails.