Module inquire::parser [−][src]
Expand description
Type aliases and default implementations for parsers called in prompts that need to parse user input, such as Confirm or CustomType.
Parsers receive the user input to a given prompt and return either a successful result (Ok) containing the parsed value or an empty Err if a value could not be parsed.
Constants
Bool formatter used by default in Confirm prompts.