Expand description
This entire crate is literally just for these two macros but represents so much pain and suffering.
On the user-side there’s nothing here you need to worry about here other than:
#[derive(JsonToFromZMQ, …)] pub struct FormMsg { …, }
Derive Macros§
- Byte
Array ToFromZMQ - A macro to automatically implement the
ByteArraySerializeDeserializetrait and related conversions for specified message types. This macro generates implementations for the following traits: - Json
ToFromZMQ - A macro to automatically implement the
JsonSerializeDeserializetrait and related conversions for specified message types. This macro generates implementations for the following traits: