Function emf_core_base_rs::global::module::get_loader_interface[][src]

pub fn get_loader_interface<'loader, O, L>(
    loader: &Loader<'loader, O>
) -> Result<ModuleLoader<L, O>, Error> where
    O: ImmutableAccessIdentifier,
    L: ModuleLoaderAPI<'loader> + ModuleLoaderABICompat

Fetches the interface of a module loader.

Failure

The function fails if loader is invalid.

Return

Interface on success, error otherwise.