pub trait QueryPlugin: Send + Sync {
// Required methods
fn id(&self) -> &str;
fn run(
&self,
catalog: &OntologyCatalog,
workspace: &Path,
query: &str,
) -> QueryProviderResult;
}Required Methods§
fn id(&self) -> &str
fn run( &self, catalog: &OntologyCatalog, workspace: &Path, query: &str, ) -> QueryProviderResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".