Enum requestty_ui::Validation [−][src]
pub enum Validation {
Finish,
Continue,
}Expand description
The state of a prompt on validation.
See Prompt::validate
Variants
If the prompt is ready to finish.
If the state is valid, but the prompt should still persist.
Unlike returning an Err, this will not show an error and is a way for the prompt to progress its internal state machine.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Validationimpl Send for Validationimpl Sync for Validationimpl Unpin for Validationimpl UnwindSafe for ValidationBlanket Implementations
Mutably borrows from an owned value. Read more