pub trait CustomScriptingProvider {
type Instance: CustomScriptingInstance;
const NAME: &'static str;
const API_NAME: &'static str;
// Required methods
fn load_module(
&self,
repo_path: &str,
plugin_path: &str,
force: bool,
) -> bool;
fn install_modules(&self, modules: &str) -> bool;
fn create_instance(&self) -> Self::Instance;
}Required Associated Constants§
Required Associated Types§
Required Methods§
fn load_module(&self, repo_path: &str, plugin_path: &str, force: bool) -> bool
fn install_modules(&self, modules: &str) -> bool
fn create_instance(&self) -> Self::Instance
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.