Trait quickjs_runtime::jsutils::modules::ScriptModuleLoader
source · pub trait ScriptModuleLoader {
// Required methods
fn normalize_path(
&self,
realm: &QuickJsRealmAdapter,
ref_path: &str,
path: &str,
) -> Option<String>;
fn load_module(
&self,
realm: &QuickJsRealmAdapter,
absolute_path: &str,
) -> String;
}