Module util

Source
Expand description

Utility functions for the rest of the crate.

Structs§

StateMgrUnlockGuard 🔒
A RAII guard that calls <T as StateMgr>::unlock on drop.

Functions§

running_as_setuid 🔒
Return true if we are running with elevated privileges via setuid, setgid, or a similar mechanism.