pub enum SRDFSparqlError {
HTTPRequestError {
e: Error,
},
URLParseError {
e: ParseError,
},
SPAResults {
e: QueryResultsParseError,
},
IriParseError {
err: IriParseError,
},
UnknownEndpontName {
name: String,
},
ParsingBody {
body: String,
},
SPARQLSolutionErrorNoIRI {
value: Term,
},
NotFoundVarsInSolution {
vars: SparqlVars,
solution: String,
},
SPARQLSolutionErrorNoSubject {
value: Term,
},
NotFoundInSolution {
value: String,
solution: String,
},
NoSubject {
term: Term,
},
IriSError {
err: IriSError,
},
}
Variants§
HTTPRequestError
URLParseError
Fields
§
e: ParseError
SPAResults
Fields
IriParseError
Fields
§
err: IriParseError
UnknownEndpontName
ParsingBody
SPARQLSolutionErrorNoIRI
NotFoundVarsInSolution
SPARQLSolutionErrorNoSubject
NotFoundInSolution
NoSubject
IriSError
Trait Implementations§
Source§impl Debug for SRDFSparqlError
impl Debug for SRDFSparqlError
Source§impl Display for SRDFSparqlError
impl Display for SRDFSparqlError
Source§impl Error for SRDFSparqlError
impl Error for SRDFSparqlError
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 SRDFSparqlError
impl From<Error> for SRDFSparqlError
Source§fn from(e: Error) -> SRDFSparqlError
fn from(e: Error) -> SRDFSparqlError
Converts to this type from the input type.
Source§impl From<IriParseError> for SRDFSparqlError
impl From<IriParseError> for SRDFSparqlError
Source§fn from(source: IriParseError) -> Self
fn from(source: IriParseError) -> Self
Converts to this type from the input type.
Source§impl From<IriSError> for SRDFSparqlError
impl From<IriSError> for SRDFSparqlError
Source§impl From<ParseError> for SRDFSparqlError
impl From<ParseError> for SRDFSparqlError
Source§fn from(e: ParseError) -> SRDFSparqlError
fn from(e: ParseError) -> SRDFSparqlError
Converts to this type from the input type.
Source§impl From<QueryResultsParseError> for SRDFSparqlError
impl From<QueryResultsParseError> for SRDFSparqlError
Source§fn from(e: QueryResultsParseError) -> SRDFSparqlError
fn from(e: QueryResultsParseError) -> SRDFSparqlError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SRDFSparqlError
impl !RefUnwindSafe for SRDFSparqlError
impl Send for SRDFSparqlError
impl Sync for SRDFSparqlError
impl Unpin for SRDFSparqlError
impl !UnwindSafe for SRDFSparqlError
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