pub enum SubmitOutcome {
Ok,
Err(String),
}Expand description
Outcome returned by SubmitFn. Surfaced through FormEvent::Submitted.
Variants§
Trait Implementations§
Source§impl Clone for SubmitOutcome
impl Clone for SubmitOutcome
Source§fn clone(&self) -> SubmitOutcome
fn clone(&self) -> SubmitOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubmitOutcome
impl RefUnwindSafe for SubmitOutcome
impl Send for SubmitOutcome
impl Sync for SubmitOutcome
impl Unpin for SubmitOutcome
impl UnsafeUnpin for SubmitOutcome
impl UnwindSafe for SubmitOutcome
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