pub enum SchemaValidationError {
RequestError(RequestError),
ReadFileError(Error),
SchemaInvalid(Box<dyn ErrorData>),
}
Variants§
Trait Implementations§
Source§impl Debug for SchemaValidationError
impl Debug for SchemaValidationError
Source§impl Display for SchemaValidationError
impl Display for SchemaValidationError
Source§impl Error for SchemaValidationError
impl Error for SchemaValidationError
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<E: ErrorData + 'static> From<E> for SchemaValidationError
impl<E: ErrorData + 'static> From<E> for SchemaValidationError
Source§impl From<RequestError> for SchemaValidationError
impl From<RequestError> for SchemaValidationError
Source§fn from(source: RequestError) -> Self
fn from(source: RequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaValidationError
impl !RefUnwindSafe for SchemaValidationError
impl Send for SchemaValidationError
impl Sync for SchemaValidationError
impl Unpin for SchemaValidationError
impl !UnwindSafe for SchemaValidationError
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