pub fn access<P: Arg>(path: P, access: Access) -> Result<()>
fs
access(path, access)—Tests permissions for a file or directory.
access(path, access)