Enum requestty_ui::Validation
source · [−]pub enum Validation {
Finish,
Continue,
}Expand description
The state of a prompt on validation.
See Prompt::validate
Variants
Finish
If the prompt is ready to finish.
Continue
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 Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnwindSafe for Validation
Blanket Implementations
Mutably borrows from an owned value. Read more