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

pub fn get_loader_handle_from_type<'tok, L>(
    _token: &'tok LockToken<L>,
    lib_type: &impl AsRef<str>
) -> Result<Loader<'static, BorrowMutable<'tok>>, Error>

Fetches the loader handle associated with the library type.

Failure

The function fails if lib_type is not registered.

Return

Handle on success, error otherwise.