Function rpassword::prompt_password_from_bufread
source ยท pub fn prompt_password_from_bufread(
reader: &mut impl BufRead,
writer: &mut impl Write,
prompt: impl ToString,
) -> Result<String>
Expand description
Prompts on the TTY and then reads a password from anything that implements BufRead