TemplatePluginFactory

Trait TemplatePluginFactory 

Source
pub trait TemplatePluginFactory: Send + Sync {
    // Required method
    fn create_plugin(&self) -> Result<Box<dyn TemplatePlugin>, PluginError>;
}
Expand description

Helper trait for creating template plugins

Required Methods§

Source

fn create_plugin(&self) -> Result<Box<dyn TemplatePlugin>, PluginError>

Create a new template plugin instance

Implementors§