Writing My Network Protocol in Rust

After spending a lot of time writing my network protocol in C, I decided that it would be a nice exercise to do the same in Rust. I keep getting back to this language because I want to like it. I hope that having a straightforward task and the passage of time will make things easier than before.
I gotta say, the compiler feels a lot nicer now. Check this out:

Link: https://dzone.com/articles/writing-my-network-protocol-in-rust?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev