pub fn prompt_until<R, W, T, F>(&self, stream: &mut MenuStream<R, W>, til: F) -> MenuResult<T>
    where
        R: BufRead,
        W: Write,
        T: FromStr,
        F: Fn(&T) -> bool,
    {
        self.prompt_until_with(stream, til, &self.fmt)
    }
/// Prompts the field until the constraint is applied.
///
/// After checking and parsing the value provided by the user, it calls the `til` function.
/// 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 until the constraint is applied.
After checking and parsing the value provided by the user, it calls the `til` function.
The output is wrapped in a [`MenuResult`] to prevent from any error .
Prompts the field until the constraint is applied . After checking and parsing the value provided by the user it calls the ` til ` function . The output is wrapped in a [ ` MenuResult ` ] to prevent from any error .
pub fn prompt_until<R, W, T, F>(&self, stream: &mut MenuStream<R, W>, til: F) -> MenuResult<T>
    where
        R: BufRead,
        W: Write,
        T: FromStr,
        F: Fn(&T) -> bool,
    {
        self.prompt_until_with(stream, til, &self.fmt)
    }
pub fn prompt_until < R , W , T , F > ( & self , stream : & mut MenuStream < R , W > , til : F ) -> MenuResult < T > where R : BufRead , W : Write , T : FromStr , F : Fn ( & T ) -> bool , { self . prompt_until_with ( stream , til , & self . fmt ) }
Prompts the field until the constraint is applied.
Prompts the field until the constraint is applied .
&self
stream
&mut MenuStream<R, W>
til
F
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 .