pub enum SRDFGraphError {
BaseParseError {
str: String,
error: String,
},
ReadingPathError {
path_name: String,
error: Error,
},
ErrorReadingTurtle {
err: TurtleParseError,
},
IOError {
err: Error,
},
TurtleError {
data: String,
turtle_error: TurtleParseError,
},
IriParseError {
err: IriParseError,
},
IriSError {
err: IriSError,
},
PrefixMapError {
err: PrefixMapError,
},
}
Variants§
BaseParseError
ReadingPathError
ErrorReadingTurtle
Fields
§
err: TurtleParseError
IOError
TurtleError
IriParseError
Fields
§
err: IriParseError
IriSError
PrefixMapError
Fields
§
err: PrefixMapError
Trait Implementations§
Source§impl Debug for SRDFGraphError
impl Debug for SRDFGraphError
Source§impl Display for SRDFGraphError
impl Display for SRDFGraphError
Source§impl Error for SRDFGraphError
impl Error for SRDFGraphError
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 SRDFGraphError
impl From<Error> for SRDFGraphError
Source§impl From<IriParseError> for SRDFGraphError
impl From<IriParseError> for SRDFGraphError
Source§fn from(source: IriParseError) -> Self
fn from(source: IriParseError) -> Self
Converts to this type from the input type.
Source§impl From<IriSError> for SRDFGraphError
impl From<IriSError> for SRDFGraphError
Source§impl From<PrefixMapError> for SRDFGraphError
impl From<PrefixMapError> for SRDFGraphError
Source§fn from(source: PrefixMapError) -> Self
fn from(source: PrefixMapError) -> Self
Converts to this type from the input type.
Source§impl From<TurtleParseError> for SRDFGraphError
impl From<TurtleParseError> for SRDFGraphError
Source§fn from(source: TurtleParseError) -> Self
fn from(source: TurtleParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SRDFGraphError
impl !RefUnwindSafe for SRDFGraphError
impl Send for SRDFGraphError
impl Sync for SRDFGraphError
impl Unpin for SRDFGraphError
impl !UnwindSafe for SRDFGraphError
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