pub enum RdfXmlParseError {
Io(Error),
Syntax(RdfXmlSyntaxError),
}
Expand description
Error returned during RDF/XML parsing.
Variants§
Io(Error)
I/O error during parsing (file not found…).
Syntax(RdfXmlSyntaxError)
An error in the file syntax.
Trait Implementations§
Source§impl Debug for RdfXmlParseError
impl Debug for RdfXmlParseError
Source§impl Display for RdfXmlParseError
impl Display for RdfXmlParseError
Source§impl Error for RdfXmlParseError
impl Error for RdfXmlParseError
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 RdfXmlParseError
impl From<Error> for RdfXmlParseError
Source§impl From<RdfXmlParseError> for Error
impl From<RdfXmlParseError> for Error
Source§fn from(error: RdfXmlParseError) -> Self
fn from(error: RdfXmlParseError) -> Self
Converts to this type from the input type.
Source§impl From<RdfXmlSyntaxError> for RdfXmlParseError
impl From<RdfXmlSyntaxError> for RdfXmlParseError
Source§fn from(source: RdfXmlSyntaxError) -> Self
fn from(source: RdfXmlSyntaxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RdfXmlParseError
impl !RefUnwindSafe for RdfXmlParseError
impl Send for RdfXmlParseError
impl Sync for RdfXmlParseError
impl Unpin for RdfXmlParseError
impl !UnwindSafe for RdfXmlParseError
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