persistent_get_text_input_as

Function persistent_get_text_input_as 

Source
pub fn persistent_get_text_input_as<Output: FromStr>(prompt: &str) -> Output
Expand description

Get a standard text input from the user. Unlike get_text_input_as, this function will continue prompting until the user submits a value that fits the chosen type