Skip to main content

Module config

Module config 

Source
Expand description

Path-aware configuration validation errors and checks.

Structs§

ConfigErrorCollector
Collects configuration validation errors.

Enums§

ConfigError
A typed configuration validation error with owned field paths.

Functions§

check
Checks a boolean validation condition.
check_feature_enabled
Checks that a field’s feature is enabled.
check_non_empty_field
Checks that a string field is present and non-empty after trimming.
check_range
Checks that a field value is in range.
check_supported_field
Checks that a field is supported.
check_supported_value
Checks that a field value is supported.
check_valid_format
Checks that a field value has the expected format.
check_valid_value
Checks that a field value is valid.

Type Aliases§

ConfigResult
Result type for configuration validation.