pub fn load_dir(
dir: impl AsRef<Path>,
) -> Result<Vec<DriverManifest>, KernelError>Available on crate feature
harness-kernel only.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.