[][src]Function tokio::fs::set_permissions

pub fn set_permissions<P>(
    path: P,
    perm: Permissions
) -> impl Future<Output = Result<(), Error>> where
    P: AsRef<Path>, 

Changes the permissions found on a file or a directory.

This is an async version of std::fs::set_permissions