pub fn register<T>(key: &str, effective: &T)Available on crate feature
config only.Expand description
Register a config section in the global registry.
Called automatically by Config::unmarshal_key_registered. Can also
be called manually for sections that don’t go through the cascade.
Requires T: Serialize + Default so we can capture both the default
and effective values as JSON for reflection.