pub trait PluginFactory:
Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> &str;
fn build(&self, ctx: &mut BuildCtx<'_>) -> Result<Stage>;
// Provided methods
fn description(&self) -> &str { ... }
fn execution(&self) -> Execution { ... }
}Expand description
Constructs Plugin instances from a declared entry.
Required Methods§
Provided Methods§
fn description(&self) -> &str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".