Crate read_stdin
source ·Functions
Read user input from
stdin
and try to parse it into a generic type.Creates a CLI prompt and asks the user for input.
Creates a CLI prompt and repeatetly asks the user for input until their input is of valid type.
read_stdinDeprecated
read_stdin_until_okDeprecated
Read user input from
stdin
and try to parse it into a generic type. I will keep prompting
the user for input until they enter data that properly parses.