pub enum ValidationError {
Lock,
NoSchemaLocation,
SchemaNotFound(String),
Internal,
Validation(XmlValidationError),
Reader(ReaderError),
}
Variants§
Lock
NoSchemaLocation
SchemaNotFound(String)
Internal
Validation(XmlValidationError)
Reader(ReaderError)
Trait Implementations§
source§impl Debug for ValidationError
impl Debug for ValidationError
source§impl Display for ValidationError
impl Display for ValidationError
source§impl Error for ValidationError
impl Error for ValidationError
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.81.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<ReaderError> for ValidationError
impl From<ReaderError> for ValidationError
source§fn from(source: ReaderError) -> Self
fn from(source: ReaderError) -> Self
Converts to this type from the input type.
source§impl From<XmlValidationError> for ValidationError
impl From<XmlValidationError> for ValidationError
source§fn from(source: XmlValidationError) -> Self
fn from(source: XmlValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ValidationError
impl !RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl !UnwindSafe for ValidationError
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