pub trait NativePlugin: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn description(&self) -> &'static str;
fn process(&self, input: PluginInput) -> PluginOutput;
}Expand description
Trait for native plugins.
Required Methods§
Sourcefn description(&self) -> &'static str
fn description(&self) -> &'static str
Plugin description.
Sourcefn process(&self, input: PluginInput) -> PluginOutput
fn process(&self, input: PluginInput) -> PluginOutput
Process directives and return modified directives + errors.