pub trait SysReadDirEntry { // Required methods fn file_name(&self) -> OsString; fn path(&self) -> PathBuf; }
Gets the file name of the directory entry, not the full path.
Gets the full path of the directory entry.