pub fn choice_values<'t, 'v, T>(
values: Vec<Vec<u8>>,
name: &'t str,
) -> Result<Vec<T>, Error<'t, 'v>>where
T: ValueEnum,Expand description
Convert every repeated value of one ValueEnum field, reporting name
for the first word that is not one of the declared values.
The shared body of what a generated build does per collecting enum field —
monomorphized once per enum type rather than expanded once per field. The
empty case is answered at the field for the reason crate::utf8_values gives.