Trait hebi::ModuleLoader

source ·
pub trait ModuleLoader {
    // Required method
    fn load(
        &mut self,
        path: &[String]
    ) -> Result<&str, Box<dyn StdError + 'static>>;
}

Required Methods§

source

fn load(&mut self, path: &[String]) -> Result<&str, Box<dyn StdError + 'static>>

Load a module at the path, returning its source code.

Implementors§