pub fn save_config(config: &SaveContextConfig) -> Result<()>
Save the full SaveContext configuration.