pub fn load_encrypted_config(
passphrase: &str,
) -> Result<SerializableConfig, String>Expand description
Loads and decrypts the configuration from the encrypted file using the provided passphrase.
§Arguments
passphrase- The passphrase used to decrypt the configuration.
§Returns
A Result containing the decrypted configuration as a SerializableConfig on success, or an error message as a String on failure.
§Example
let config = load_encrypted_config("my_secure_passphrase").expect("Failed to load encrypted config");