To add, turning everything into an enum can make the code nearly unreadable and hard to work with. This isn’t Rust, and there’s no performance gain for using enums over string unions.
To add, turning everything into an enum can make the code nearly unreadable and hard to work with. This isn’t Rust, and there’s no performance gain for using enums over string unions.
I don’t use rocket normally but it was great when I have used it. Rust and foundations seem to have a…storied relationship though, so I hope this plays out well.