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