Available on
target_family="unix"
and non-iOS and non-Android and non-tvOS only.Expand description
Code to inspect user db information on unix.
Modules§
- serde_
support 🔒serde
- Serde support for
TrustedUser
andTrustedGroup
.
Structs§
- Trusted
Users 🔒Cache - Cache for the trusted uid/gid answers
Enums§
- Trusted
Group - A group that we can be configured to trust.
- Trusted
User - A user that we can be configured to trust.
Statics§
- CACHE 🔒
- Cached trusted id determinations
Functions§
- cur_
groups 🔒 - Return a vector of the group ID values for every group to which we belong.
- get_
own_ 🔒username - Find our username, if possible.
- get_
self_ 🔒named_ gid_ impl - Obtain the gid of a group named after the current user
- handle_
pwd_ 🔒error - Convert an
io::Error
representing a user/group handling failure into anError
Type Aliases§
- Id 🔒
- uids and gids, convenient type alias