pub fn prompt<R, W, T>(&self, stream: &mut MenuStream<R, W>) -> MenuResult<T>
    where
        R: BufRead,
        W: Write,
        T: FromStr,
    {
        self.prompt_with(stream, &self.fmt)
    }
/// Prompts the field.
///
/// 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.
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 . 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<R, W, T>(&self, stream: &mut MenuStream<R, W>) -> MenuResult<T>
    where
        R: BufRead,
        W: Write,
        T: FromStr,
    {
        self.prompt_with(stream, &self.fmt)
    }
pub fn prompt < R , W , T > ( & self , stream : & mut MenuStream < R , W > ) -> MenuResult < T > where R : BufRead , W : Write , T : FromStr , { self . prompt_with ( stream , & self . fmt ) }
Prompts the field.
Prompts the field .
&self
stream
&mut MenuStream<R, W>
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 .