Skip to main content

GraphPlugin

Trait GraphPlugin 

Source
pub trait GraphPlugin: Send + Sync {
    // Required methods
    fn id(&self) -> &str;
    fn build(
        &self,
        catalog: &OntologyCatalog,
        workspace: &Path,
        root_iri: Option<&str>,
    ) -> GraphProviderResult;
}

Required Methods§

Source

fn id(&self) -> &str

Source

fn build( &self, catalog: &OntologyCatalog, workspace: &Path, root_iri: Option<&str>, ) -> GraphProviderResult

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§