gix_prompt

Function securely

Source
pub fn securely(prompt: impl AsRef<str>) -> Result<String, Error>
Expand description

Ask for information securely after showing the prompt (like "password: ") by not showing what’s typed.

Use ask() for more control.