pub fn get_text_input_as<Output: FromStr>(
prompt: &str,
) -> Result<Output, Output::Err>Expand description
Get a standard text input from the user. Appears inline. Directly passes the result from str.parse(). If you want to keep prompting until the user submits a value that fits the chosen type
ยงErrors
Returns the result of a parse method, so the error will depend on what you want to parse to