pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> Result<Metadata>
Query the metadata about a file without following symlinks.
Wrapper for fs::symlink_metadata.
fs::symlink_metadata