pub enum FormOutcome {
Submitted(FormValues),
Cancelled,
}Expand description
The terminal-visible outcome of a completed form run.
Variants§
Submitted(FormValues)
Every field was accepted; values can now be read with FieldKey.
Cancelled
The user cancelled without exposing any partial field values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FormOutcome
impl !RefUnwindSafe for FormOutcome
impl !Send for FormOutcome
impl !Sync for FormOutcome
impl Unpin for FormOutcome
impl UnsafeUnpin for FormOutcome
impl !UnwindSafe for FormOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more