pub fn prompt_for_string_confirm<IS: AbstractStream, OS: AbstractStream>(
    mut input_stream: IS,
    mut output_stream: OS,
    prompt: &str,
    is_sensitive: bool,
) -> Result<String> {
    let mut input_reader = build_input_reader(&mut input_stream)?;
    prompt_for_string_confirm_impl(
        &mut input_stream,
        &mut input_reader,
        &mut output_stream,
        prompt,
        is_sensitive,
    )
}
/// Prompt for a string as per `prompt_for_string`, but additionally have the
/// user enter the value again to confirm we get the same answer twice. This is
/// useful for e.g. password entry.
Prompt for a string as per `prompt_for_string`, but additionally have the
user enter the value again to confirm we get the same answer twice. This is
useful for e.g. password entry.
Prompt for a string as per ` prompt_for_string ` but additionally have the user enter the value again to confirm we get the same answer twice . This is useful for e . g . password entry .
pub fn prompt_for_string_confirm<IS: AbstractStream, OS: AbstractStream>(
    mut input_stream: IS,
    mut output_stream: OS,
    prompt: &str,
    is_sensitive: bool,
) -> Result<String> {
    let mut input_reader = build_input_reader(&mut input_stream)?;
    prompt_for_string_confirm_impl(
        &mut input_stream,
        &mut input_reader,
        &mut output_stream,
        prompt,
        is_sensitive,
    )
}
pub fn prompt_for_string_confirm < IS : AbstractStream , OS : AbstractStream > ( mut input_stream : IS , mut output_stream : OS , prompt : & str , is_sensitive : bool , ) -> Result < String > { let mut input_reader = build_input_reader ( & mut input_stream ) ? ; prompt_for_string_confirm_impl ( & mut input_stream , & mut input_reader , & mut output_stream , prompt , is_sensitive , ) }
Prompt for a string as per `prompt_for_string`, but additionally have the
user enter the value again to confirm we get the same answer twice.
Prompt for a string as per ` prompt_for_string ` but additionally have the user enter the value again to confirm we get the same answer twice .
input_stream
IS
output_stream
OS
prompt
&str
is_sensitive
bool
input_stream
IS
output_stream
OS
prompt
&str
is_sensitive
bool