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