Skip to main content

parse_mode_choice

Function parse_mode_choice 

Source
pub fn parse_mode_choice(answer: &str) -> Option<TracingMode>
Expand description

The mode an answer names: its number in the list, or its name. An empty answer takes the default, hooks. None when it names neither.