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§
fn id(&self) -> &str
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".