Trait dialoguer::Validator [−][src]
Associated Types
Loading content...Required methods
fn validate(&self, text: &str) -> Result<(), Self::Err>
[src]
Invoked with the value to validate.
If this produces Ok(())
then the value is used and parsed, if
an error is returned validation fails with that error.