Skip to main content

validate

Function validate 

Source
pub fn validate(config: &RoutingConfig) -> Vec<String>
Expand description

Validate a RoutingConfig, returning a list of human-readable errors.

§Arguments

  • config - The routing configuration to validate.

§Returns

An empty Vec on success, or one error string per violated constraint.

§Panics

This function never panics.