pub struct ValidationErrors<'a> { /* private fields */ }Expand description
An owned collection of validation errors that implements std::error::Error.
Obtain this by calling ErrorIterator::into_errors().
Implementations§
Source§impl<'a> ValidationErrors<'a>
impl<'a> ValidationErrors<'a>
Trait Implementations§
Source§impl Debug for ValidationErrors<'_>
impl Debug for ValidationErrors<'_>
Source§impl Display for ValidationErrors<'_>
impl Display for ValidationErrors<'_>
Source§impl Error for ValidationErrors<'_>
impl Error for ValidationErrors<'_>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<'a> IntoIterator for ValidationErrors<'a>
impl<'a> IntoIterator for ValidationErrors<'a>
Source§impl<'a, 'b> IntoIterator for &'b ValidationErrors<'a>
impl<'a, 'b> IntoIterator for &'b ValidationErrors<'a>
Source§impl<'a, 'b> IntoIterator for &'b mut ValidationErrors<'a>
impl<'a, 'b> IntoIterator for &'b mut ValidationErrors<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ValidationErrors<'a>
impl<'a> !UnwindSafe for ValidationErrors<'a>
impl<'a> Freeze for ValidationErrors<'a>
impl<'a> Send for ValidationErrors<'a>
impl<'a> Sync for ValidationErrors<'a>
impl<'a> Unpin for ValidationErrors<'a>
impl<'a> UnsafeUnpin for ValidationErrors<'a>
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