pub fn validate_all_fields(config: &Config) -> Result<()>Expand description
Validate every field of a fully-deserialized
Config using the
same per-key rules as validate_field. This is used by
ConfigService::load_for_repair so that a TOML-parsed but
strict-invalid config still has its individual field invariants
enforced before being handed to the config set/get/list handlers.
Cross-section validation (e.g. provider/scheme pairings) is not
performed here — that lives in crate::config::validator::validate_config.
§Errors
Returns the first per-field validation error encountered.