Crate cap_directories
source ·Expand description
Capability-based standard directories.
Structs
- Instances of this
AmbientAuthoritytype serve to indicate that theambient_authorityfunction has been called, indicating that the user has explicitly opted into using ambient authority. ProjectDirscomputes the cache, config or data directories for a specific application, which are derived from the standard directories and the name of the project/organization.UserDirsprovides paths of user-facing standard directories, following the conventions of the operating system the library is running on.
Functions
- Return an
AmbientAuthorityvalue, which allows use of functions that include anAmbientAuthorityargument.