Skip to main content

load

Function load 

Source
pub fn load(
    path: &Path,
    options: &LoadOptions,
) -> Result<RuntimePlugin, LoadError>
Expand description

Load the plugin at path, choosing the loader by its extension.

Refused, never panicking, when the kind is unknown or not compiled in, or when the loader refuses it.