pub enum PrefixParseError {
InvalidXmlName(InvalidXmlNameError),
}Expand description
An error that can occur when parsing a Prefix.
Variants§
InvalidXmlName(InvalidXmlNameError)
The Prefix is not a valid XML name.
Trait Implementations§
Source§impl Debug for PrefixParseError
impl Debug for PrefixParseError
Source§impl Display for PrefixParseError
impl Display for PrefixParseError
Source§impl Error for PrefixParseError
impl Error for PrefixParseError
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<InvalidXmlNameError> for PrefixParseError
impl From<InvalidXmlNameError> for PrefixParseError
Source§fn from(source: InvalidXmlNameError) -> Self
fn from(source: InvalidXmlNameError) -> Self
Converts to this type from the input type.
Source§impl From<PrefixParseError> for QNameParseError
impl From<PrefixParseError> for QNameParseError
Source§fn from(source: PrefixParseError) -> Self
fn from(source: PrefixParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrefixParseError
impl PartialEq for PrefixParseError
impl Eq for PrefixParseError
impl StructuralPartialEq for PrefixParseError
Auto Trait Implementations§
impl Freeze for PrefixParseError
impl RefUnwindSafe for PrefixParseError
impl Send for PrefixParseError
impl Sync for PrefixParseError
impl Unpin for PrefixParseError
impl UnwindSafe for PrefixParseError
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