Plugin

Trait Plugin 

Source
pub trait Plugin: Send + Sync {
    // Required methods
    fn new() -> Self
       where Self: Sized;
    fn run_plugin(&self, input: PluginInput) -> Result<PluginOutput, String>;
}

Required Methods§

Source

fn new() -> Self
where Self: Sized,

Source

fn run_plugin(&self, input: PluginInput) -> Result<PluginOutput, String>

执行插件

Implementors§