Expand description
Runtime config-load wrapper. Both driver and doctor parse user
config through Config::load_validated so unknown-key warnings
ride alongside the parsed config (or the parse error). Doctor’s
read is documented in docs/specs/doctor.md §Config.
Pre-routing, doctor used bare toml::from_str and silently
accepted typos like [segmnts.echo] that the runtime warned
about — the parity gap this module closes.
Enums§
- Config
Load Outcome - Outcome of loading the user config from a resolved path. Five variants; runtime and doctor render each differently.
Functions§
- load_
config - Single config-load entry both runtime and doctor route through.
Calls
Config::load_validatedso unknown-key warnings flow to the caller via theConfigLoadOutcome::Loadedvariant rather than being collected by side effect on a sink.