pub fn inspect(path: &Path) -> Result<Option<EntryInfo>>
Inspect a path while following its final symlink.
A missing path is represented by Ok(None).
Ok(None)
Returns a contextual error when metadata cannot be read.