cm_fidl_validator

Function validate_values_data

Source
pub fn validate_values_data(data: &ConfigValuesData) -> Result<(), ErrorList>
Expand description

Validates Configuration Values Data.

The Value Data may ultimately originate from a CVF file, or be directly constructed by the caller. Either way, Value Data should always be validated before it’s used. For now, this simply verifies that all semantically required fields are present.

This method does not validate value data against a configuration schema.