pub trait SparqlClient: Send + Sync {
// Required method
fn query(
&self,
endpoint_url: &str,
sparql: &str,
) -> Result<Value, ProjectionError>;
}Expand description
Pluggable SPARQL transport — production uses ureq, tests use mocks.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".