Skip to main content

Crate packetwire_derive

Crate packetwire_derive 

Source
Expand description

Procedural macros re-exported by packetwire.

Applications should depend on and import macros from packetwire rather than using this implementation crate directly.

Attribute Macrosยง

packet
Implements binary encoding, binary decoding, and a stable packet ID for a named, tuple, unit, or generic struct.
packet_set
Turns a non-empty enum of single-field tuple variants into an ID-dispatching packet set.