pub fn metadata(path: &str) -> Result<Metadata>
fs
Given a path, query the file system to get information about a file, directory, etc.