Use serde/bincode for event serialisation?
Created by: kaedroho
Just wondering if you would be interested in accepting a PR refactoring the event serialisation/deserialisation to use
The current method requires transcoding all the information about the event into two
u64's. I found this to be tricky and error-prone when I did it myself.
I think we can greatly simplify this by deriving Serialise/Deserialise traits using serde_derive on the
Event enum, then use bincode to perform the encoding into a
Vec<u8> which can be sent across the wire.
 https://github.com/redox-os/orbclient/blob/4f0214020ee79fb754128ea7770e35896f13d6cf/src/event.rs#L293-L296  https://github.com/serde-rs/serde/tree/master/serde_derive  https://github.com/TyOverby/bincode