fn enumerate(
y: &Yaml,
names: &[&str],
what: &'static str,
) -> Result<i32, String>Expand description
An enum, as its proto name or as its number. names[i] is the name of value
i; every OTLP enum reached from here numbers from zero with no gaps.