Struct ketos::module::FileModuleLoader [] [src]

pub struct FileModuleLoader { /* fields omitted */ }

Loads modules from source files and compiled bytecode files.

Methods

impl FileModuleLoader
[src]

Creates a new FileModuleLoader that will search the current directory for modules.

Creates a new FileModuleLoader that will search the given series of directories to load modules.

Adds a directory to search for module files.

Sets whether the FileModuleLoader will search for compiled bytecode files when loading modules. The default is true.

Sets whether the FileModuleLoader will write compiled bytecode files after loading a module from source. The default is true.

Trait Implementations

impl ModuleLoader for FileModuleLoader
[src]

Loads the named module, supplying a new execution context. Read more

Creates a ChainModuleLoader using this loader and another. Read more