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

pub fn get_loader_handle_from_type(
    mod_type: &impl AsRef<str>
) -> Result<Loader<'static, BorrowMutable<'_>>, Error>

Fetches the handle of the loader associated with a module type.

Failure

The function fails if mod_type does not exist.

Return

Handle on success, error otherwise.