Skip to main content

prompt_for_input

Function prompt_for_input 

Source
pub fn prompt_for_input(prompt: &str) -> Result<String, Error>
Expand description

Prompt the user for input with the given prompt message

ยงErrors

Returns an error if stdin/stdout operations fail, input is too long, contains invalid characters, or times out