blob: 1804e145f62d4e557e8649b98b123f249945b90b (
plain) (
tree)
|
|
# Hints
## General
- [Rust By Example - Enums][rbe-enums]
- [cheats.rs - Basic Types][cheats-types]
## 1. Emit semi-structured messages
- `match` comes in handy when working with enums. In this case, see how you might use it when figuring how what kind of log message to generate.
[rbe-enums]: https://doc.rust-lang.org/stable/rust-by-example/custom_types/enum.html#enums
[cheats-types]: https://cheats.rs/#basic-types
|