* Delegate emit_enum_struct_variant calls to emit_enum_variant read_enum_struct_variant delegates calls to read_enum_variant which expects u32 prefix to encode a variant number. Previous implementation of emit_enum_struct_variant doesn't emit it, making serialized data invalid. * Add test to check manual enum encoding |
||
|---|---|---|
| .. | ||
| test.rs | ||