pub fn to_persisted_toml(config: &CortexConfig) -> Result<String, Error>Expand description
Serializes the non-secret configuration sections (everything except the auth secrets) to TOML.
Shared by cortex init’s config scaffold and the Settings write path so the on-disk shape is
identical.