pub struct Errors<ErrorT> {
pub errors: Vec<ErrorT>,
}
Expand description
An Error that contains zero or more errors.
Implements ErrorRecipient by accumulating errors.
Fields§
§errors: Vec<ErrorT>
The errors.
Implementations§
Trait Implementations§
Source§impl<ErrorT> Error for Errors<ErrorT>where
ErrorT: Error,
impl<ErrorT> Error for Errors<ErrorT>where
ErrorT: Error,
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<ErrorT> ErrorRecipient<ErrorT> for Errors<ErrorT>
impl<ErrorT> ErrorRecipient<ErrorT> for Errors<ErrorT>
Source§impl<'own, ErrorT> IntoIterator for &'own Errors<ErrorT>
impl<'own, ErrorT> IntoIterator for &'own Errors<ErrorT>
Source§impl<'own, ErrorT> IntoIterator for &'own mut Errors<ErrorT>
impl<'own, ErrorT> IntoIterator for &'own mut Errors<ErrorT>
Source§impl<ErrorT> IntoIterator for Errors<ErrorT>
impl<ErrorT> IntoIterator for Errors<ErrorT>
Auto Trait Implementations§
impl<ErrorT> Freeze for Errors<ErrorT>
impl<ErrorT> RefUnwindSafe for Errors<ErrorT>where
ErrorT: RefUnwindSafe,
impl<ErrorT> Send for Errors<ErrorT>where
ErrorT: Send,
impl<ErrorT> Sync for Errors<ErrorT>where
ErrorT: Sync,
impl<ErrorT> Unpin for Errors<ErrorT>where
ErrorT: Unpin,
impl<ErrorT> UnwindSafe for Errors<ErrorT>where
ErrorT: UnwindSafe,
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