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