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

pub fn get_loader_interface<'loader, L, O, T>(
    _token: &mut LockToken<L>,
    loader: &Loader<'loader, O>
) -> Result<LibraryLoader<T, O>, Error> where
    O: ImmutableAccessIdentifier,
    T: LibraryLoaderAPI<'loader> + LibraryLoaderABICompat

Fetches the interface of a library loader.

Failure

The function fails if loader is invalid.

Return

Interface on success, error otherwise.