[][src]Trait treescript_interpreter::lib_process::LibProcess

pub trait LibProcess {
    type Error: LibProcessError;
    fn dependencies() -> Vec<LibrarySpec>;
fn configure(&mut self, config: Config);
fn call_fun(
        &mut self,
        fun: String,
        args: Vec<Value>
    ) -> Result<Value, Self::Error>; fn run<R: Read, W: Write>(
        &mut self,
        input: &mut R,
        output: &mut W
    ) -> Result<(), Self::Error> { ... }
fn run_main(&mut self) { ... } }

Associated Types

Loading content...

Required methods

fn dependencies() -> Vec<LibrarySpec>

fn configure(&mut self, config: Config)

fn call_fun(
    &mut self,
    fun: String,
    args: Vec<Value>
) -> Result<Value, Self::Error>

Loading content...

Provided methods

fn run<R: Read, W: Write>(
    &mut self,
    input: &mut R,
    output: &mut W
) -> Result<(), Self::Error>

fn run_main(&mut self)

Loading content...

Implementors

Loading content...