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