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