Function mg::blocking_question
source · pub fn blocking_question<COMM, SETT>(
mg: &StreamHandle<<Mg<COMM, SETT> as Update>::Msg>,
msg: String,
choices: &[char]
) -> Option<String>where
COMM: Clone + EnumFromStr + EnumMetaData + SpecialCommand + 'static,
SETT: Default + EnumMetaData + Settings + SettingCompletion + 'static,
Expand description
Ask a multiple-choice question to the user and block until the user provides it (or cancel).