fn dir_entry( entry: Result<DirEntry, Error>, path: impl AsRef<Path>, ) -> Result<DirEntry, Error>
Maps a std::io::Error for a DirEntry to a crate::Error.
std::io::Error
DirEntry
crate::Error