Function read_input

Source
pub fn read_input<T>() -> Result<T, InputError<T::Err>>
where T: FromStr, T::Err: Display + Debug,
Expand description

A convenience wrapper that reads from stdin (locking it), without printing a prompt.