Struct toml_span::DeserError
source · pub struct DeserError {
pub errors: Vec<Error>,
}
Expand description
When deserializing, it’s possible to collect multiple errors instead of earlying out at the first error
Fields§
§errors: Vec<Error>
The set of errors that occurred during deserialization
Implementations§
Trait Implementations§
source§impl Debug for DeserError
impl Debug for DeserError
source§impl Display for DeserError
impl Display for DeserError
source§impl Error for DeserError
impl Error for DeserError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for DeserError
impl RefUnwindSafe for DeserError
impl Send for DeserError
impl Sync for DeserError
impl Unpin for DeserError
impl UnwindSafe for DeserError
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