Function permissions [src]
Returns a Permissions struct, representing the permissions on the file
Prototype
pub fn permissions(self: Self) Permissions
Parameters
self: Self
Source
pub fn permissions(self: Self) Permissions {
return Permissions{ .inner = PermissionsUnix{ .mode = self.statx.mode } };
}