pub enum ArchSpecLoadError {
Json(Error),
Validation(Vec<ArchSpecError>),
}Expand description
Error returned when loading an arch spec from JSON fails.
Variants§
Json(Error)
Validation(Vec<ArchSpecError>)
Trait Implementations§
Source§impl Debug for ArchSpecLoadError
impl Debug for ArchSpecLoadError
Source§impl Display for ArchSpecLoadError
impl Display for ArchSpecLoadError
Source§impl Error for ArchSpecLoadError
impl Error for ArchSpecLoadError
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 From<Error> for ArchSpecLoadError
impl From<Error> for ArchSpecLoadError
Source§impl From<Vec<ArchSpecError>> for ArchSpecLoadError
impl From<Vec<ArchSpecError>> for ArchSpecLoadError
Source§fn from(errors: Vec<ArchSpecError>) -> Self
fn from(errors: Vec<ArchSpecError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArchSpecLoadError
impl !RefUnwindSafe for ArchSpecLoadError
impl Send for ArchSpecLoadError
impl Sync for ArchSpecLoadError
impl Unpin for ArchSpecLoadError
impl !UnwindSafe for ArchSpecLoadError
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