pub fn get_user_by_uid(uid: uid_t) -> Option<User>
Searches for a User with the given ID in the system’s user database. Returns it if one is found, otherwise returns None.
User
None