# Why enums

* [Defining an enum](https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html)

* An enum type has `variants`.
* `match` pattern matching operations must be exhaustive, this helps us ensuring that we handled every variant.


