pub fn check_feature_enabled(
field: impl Into<String>,
feature: impl Into<String>,
enabled: bool,
) -> ConfigResult<()>Expand description
Checks that a field’s feature is enabled.
§Errors
Returns ConfigError::FeatureDisabled when enabled is false.