Skip to main content

ExporterPlugin

Trait ExporterPlugin 

Source
pub trait ExporterPlugin: Send + Sync {
    // Required methods
    fn id(&self) -> &str;
    fn export(
        &self,
        catalog: &OntologyCatalog,
        workspace: &Path,
        options: ExportOptions,
    ) -> Result<Vec<PathBuf>, ExportError>;
}

Required Methods§

Source

fn id(&self) -> &str

Source

fn export( &self, catalog: &OntologyCatalog, workspace: &Path, options: ExportOptions, ) -> Result<Vec<PathBuf>, ExportError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§