pub enum UpdateErr {
Text(String),
Field(Box<FieldError>),
Fields(Vec<FieldError>),
}Expand description
An error a validator reports.
Variants§
Text(String)
A message; $PATH and $VALUE are expanded.
Field(Box<FieldError>)
A ready error, its path filled in when empty.
Fields(Vec<FieldError>)
Several ready errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateErr
impl RefUnwindSafe for UpdateErr
impl Send for UpdateErr
impl Sync for UpdateErr
impl Unpin for UpdateErr
impl UnsafeUnpin for UpdateErr
impl UnwindSafe for UpdateErr
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