Serialize/deserialize protobuf message with TMQ (rust)

Viewed 239

I am trying to use protobuf (https://github.com/stepancheg/rust-protobuf) with TMQ (https://github.com/cetra3/tmq) and am having some issues with byte serialization/deserialization for sending over the wire.

I've looked over the documentation, but it's not obvious to me which methods or traits would allow me to convert a protobuf Message a type that would be acceptable by tmq::dealer::Dealer::send(). Any help would be greatly appreciated, thanks!

0 Answers
Related