Expand description
Macro-generated enum utilities for PyO3.
Functions§
- parse_
enum - Converts a raw string to the enum
E
, returning a nicely‑formattedPyValueError
if the string does not match any variant.
Macro-generated enum utilities for PyO3.
E
, returning a nicely‑formatted
PyValueError
if the string does not match any variant.