Crate netgauze_serde_macros
source ·Derive Macros§
- For a given error enum {Name} generate a struct called Located{Name} that carries the
Span
(the error location in the input stream) info along the error. Additionally, generatesFrom
fornom
library errors, external, and another located errors. - Decorate an
enum
as an error for serializing binary protocol provides the following decorations for any members of the enum.