Using something like https://github.com/Neargye/magic_enum it would be possible to auto adapt enums for the user without them having to manually list all the various enum values. Completely understandable if you don't want to take a dependency like this - but just a thought.