Skip to main content

load_dir

Function load_dir 

Source
pub fn load_dir(directory: &Path) -> Result<Vec<DeclarativeBackend>>
Expand description

Load all regular .toml definitions directly inside directory.

Files are loaded in lexical path order. A missing directory is an empty plugin set; malformed definitions fail the whole load.