Function read_input_with_prompt

Source
pub fn read_input_with_prompt<T>(
    prompt: Arguments<'_>,
) -> Result<T, InputError<T::Err>>
where T: FromStr, T::Err: Display + Debug,
Expand description

A convenience wrapper that reads from stdin, printing the given prompt first.