pub fn read_dir(dir: impl AsRef<Path>) -> Result<Vec<PathBuf>>
The paths of the entries in dir, skipping any that cannot be read.
dir