Expand description
Configuration module for typed module configuration access.
This module provides two distinct mechanisms for loading module configuration:
-
Lenient loading (default): Falls back to
T::default()when configuration is missing.- Used by
module_config_or_default - Allows modules to exist without configuration sections in the main config file
- Used by
-
Strict loading: Requires configuration to be present and valid.
- Used by
module_config_required - Returns errors when configuration is missing or invalid
- Used by
Enums§
- Config
Error - Configuration error for typed config operations
Traits§
- Config
Provider - Provider of module-specific configuration (raw JSON sections only).
Functions§
- module_
config_ or_ default - Lenient configuration loader that falls back to defaults.
- module_
config_ required - Strict configuration loader that requires configuration to be present.