Skip to main content

load_plugins_from_dir

Function load_plugins_from_dir 

Source
pub async fn load_plugins_from_dir(dir: &Path) -> Vec<LoadedPlugin>
Expand description

Load plugins from a directory

Scans the specified directory for plugin subdirectories and loads each one.

§Arguments

  • dir - The directory to scan for plugins

§Returns

A vector of successfully loaded plugins