Draft change to make conversion from v4l2_query_ext_ctrl to Description - and within it u32 to a Type - fallible rather than panicking on unknown type values.
This approach includes a few breaking changes, to store the unknown type in the struct. Alternatively we could make the entire conversion for v4l2_query_ext_ctrl fallible via TryFrom?
Fixes #98
Draft change to make conversion from
v4l2_query_ext_ctrl
toDescription
- and within itu32
to aType
- fallible rather than panicking on unknown type values.This approach includes a few breaking changes, to store the unknown type in the struct. Alternatively we could make the entire conversion for
v4l2_query_ext_ctrl
fallible viaTryFrom
?