Exec

Trait Exec 

Source
pub trait Exec {
    // Required methods
    fn exec_plugins(
        &self,
        plugin_path: String,
        stdin_data: &[u8],
        environ: Vec<String>,
    ) -> ResultCNI<Vec<u8>>;
    fn find_in_path(
        &self,
        plugin: String,
        paths: Vec<String>,
    ) -> ResultCNI<String>;
    fn decode(&self, data: &[u8]) -> ResultCNI<()>;
}

Required Methods§

Source

fn exec_plugins( &self, plugin_path: String, stdin_data: &[u8], environ: Vec<String>, ) -> ResultCNI<Vec<u8>>

Source

fn find_in_path(&self, plugin: String, paths: Vec<String>) -> ResultCNI<String>

Source

fn decode(&self, data: &[u8]) -> ResultCNI<()>

Implementors§