NativePlugin

Trait NativePlugin 

Source
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§

Source

fn name(&self) -> &'static str

Plugin name.

Source

fn description(&self) -> &'static str

Plugin description.

Source

fn process(&self, input: PluginInput) -> PluginOutput

Process directives and return modified directives + errors.

Implementors§