pub enum XmlInspectionError {
NamingCollision {
first: String,
second: String,
canonical: String,
},
InvalidPath,
}
Expand description
Errors which may happen during XML definitions discovery
Variants§
NamingCollision
Two dialect XML definitions with the same canonical names.
Fields
InvalidPath
Invalid path.
Trait Implementations§
Source§impl Debug for XmlInspectionError
impl Debug for XmlInspectionError
Source§impl Display for XmlInspectionError
impl Display for XmlInspectionError
Source§impl Error for XmlInspectionError
impl Error for XmlInspectionError
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 From<XmlInspectionError> for Error
impl From<XmlInspectionError> for Error
Source§fn from(source: XmlInspectionError) -> Self
fn from(source: XmlInspectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XmlInspectionError
impl RefUnwindSafe for XmlInspectionError
impl Send for XmlInspectionError
impl Sync for XmlInspectionError
impl Unpin for XmlInspectionError
impl UnwindSafe for XmlInspectionError
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