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