prompt_one_with

Function prompt_one_with 

Source
pub fn prompt_one_with<'a, Q, B, E>(
    question: Q,
    backend: &mut B,
    events: &mut E,
) -> Result<Answer>
where Q: Into<Question<'a>>, B: Backend, E: EventIterator,
Expand description

Prompt the given question, with the given Backend and EventIterator.

ยงPanics

This will panic if when on the Question prevents the question from being asked.