use std::fs::*; //... let mut perms = metadata("Hello.txt").permissions(); //...
When I compile this I get a ^^^^^^^^^^^ method not found in
std::result::Result<Metadata, std::io::Error> on the permissions() function. However the std::fs::Metadata documentation shows that it does exist.
I am not understanding why this is so. Any help would be appreciated.