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, generates From for nom 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.