Skip to main content

validate_storage_value

Function validate_storage_value 

Source
pub fn validate_storage_value(
    value_type: ConfigValueType,
    value: &str,
) -> Result<()>
Expand description

Validates a storage string against a declared value type.

This performs only product-neutral structural checks. Domain-specific rules, such as enum membership or cross-field constraints, belong to registry normalizers and dependency validators.