pub fn prompt_with<R, W, T>(
        &self,
        stream: &mut MenuStream<R, W>,
        fmt: &Format<'a>,
    ) -> MenuResult<T>
    where
        R: BufRead,
        W: Write,
        T: FromStr,
    {
        self.prompt_until_with(stream, keep, fmt)
    }
/// Prompts the field, using the given format.
///
/// It uses the merged version between the format of the written field and the given format.
/// It prompts the field until the value provided by the user is correct, then parses it.
/// The output is wrapped in a [`MenuResult`] to prevent from any error (see [`MenuError`]);
///
/// # Panic
///
/// If the default value has an incorrect type, this function will panic.
Prompts the field, using the given format.
It uses the merged version between the format of the written field and the given format.
It prompts the field until the value provided by the user is correct, then parses it.
The output is wrapped in a [`MenuResult`] to prevent from any error .
Prompts the field using the given format . It uses the merged version between the format of the written field and the given format . It prompts the field until the value provided by the user is correct then parses it . The output is wrapped in a [ ` MenuResult ` ] to prevent from any error .
pub fn prompt_with<R, W, T>(
        &self,
        stream: &mut MenuStream<R, W>,
        fmt: &Format<'a>,
    ) -> MenuResult<T>
    where
        R: BufRead,
        W: Write,
        T: FromStr,
    {
        self.prompt_until_with(stream, keep, fmt)
    }
pub fn prompt_with < R , W , T > ( & self , stream : & mut MenuStream < R , W > , fmt : & Format < ' a > , ) -> MenuResult < T > where R : BufRead , W : Write , T : FromStr , { self . prompt_until_with ( stream , keep , fmt ) }
Prompts the field, using the given format.
Prompts the field using the given format .
&self
stream
&mut MenuStream<R, W>
fmt
&Format<'a>
panic
If the default value has an incorrect type, this function will panic.
If the default value has an incorrect type this function will panic .