Functions§
- print_
flush - Prints and flushes the stdout, will panic if it isn’t possible. Simple higher-level alternative, works as expected in other higher-level languages.
- read_
line - Prompts the user (terminal) for input and returns a Result. Ok(input) where input is a String or Err(error) where error is a std::io::error:Error.
- readln
- Prompts the user (terminal) for input and returns it as a String. Panics if it could not read it.