pub fn check_supported_value(
field: impl Into<String>,
supported: bool,
reason: impl Into<String>,
) -> ConfigResult<()>Expand description
Checks that a field value is supported.
ยงErrors
Returns ConfigError::UnsupportedValue when supported is false.