In C#, Enums are just semantic ints (or other integer-like types). In Rust however, they're (afaict) discriminated unions.
I'm building a set of microservices that require communication over websockets. I'm curious what's the best way to represent the semantic value of the numeric value (e.g. the C# enum) when it comes to deserializing the message in Rust?
