Skip to main content

load_dir

Function load_dir 

Source
pub fn load_dir(dir: impl AsRef<Path>) -> Result<Vec<DriverManifest>>
Expand description

Reads every *.toml manifest in dir, in file-name order; an absent directory has none.

§Errors

Returns the first manifest’s error, naming its file, or KernelError::Config when two files declare the same driver id.