Skip to main content

LibraryLoader

Trait LibraryLoader 

Source
pub trait LibraryLoader {
    // Required method
    fn load_library(&self, path: &str) -> Result<String, String>;
}
Expand description

Loads the source of a library by its import path.

Required Methods§

Source

fn load_library(&self, path: &str) -> Result<String, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§