Function confy::store_perms

source ·
pub fn store_perms<'a, T: Serialize>(
    app_name: &str,
    config_name: impl Into<Option<&'a str>>,
    cfg: T,
    perms: Permissions
) -> Result<(), ConfyError>
Expand description

Save changes made to a configuration object at a specified path

This is an alternate version of store that allows the specification of file permissions that must be set. For more information on errors and behavior, see store’s documentation.