Skip to main content

answer_failure

Function answer_failure 

Source
pub fn answer_failure(
    answer: Answer,
    events: &[&str],
    key: Option<&str>,
    selector: &str,
    must_answer: bool,
) -> Option<String>
Expand description

The failure an answer means for events aimed at selector, or None when it is no failure.

key names the key of a press, which is how its refusal names what was pressed.