pub trait IntoQuery<Q: Query> {
type Out: Borrow<Q>;
// Required method
fn into_query(self) -> Result<Self::Out, Q::Error>;
}
Expand description
A utility trait to allow SparqlDataset::query
to accept either &str
or Self::Query
.
Required Associated Types§
Sourcetype Out: Borrow<Q>
type Out: Borrow<Q>
The ouput type of into_query
.