Expand description
Cross-subsystem configuration validation and startup warnings.
validate_subsystems_config inspects the assembled ServerSubsystems
for common misconfigurations and emits human-readable warnings. It does
not abort startup — callers decide how to surface warnings (log them,
return them in a health response, fail hard in tests, etc.).
§When to call
Call once during server startup, after ServerSubsystemsBuilder::build
succeeds but before the server begins accepting requests:
ⓘ
let warnings = validate_subsystems_config(&subsystems);
for w in &warnings {
tracing::warn!(warning = %w, "Subsystems config advisory");
}Enums§
- Subsystem
Config Warning - A non-fatal configuration advisory emitted by
validate_subsystems_config.
Functions§
- validate_
subsystems_ config - Inspect
subsystemsfor common misconfigurations and return advisory warnings.