Kixunil / Kixunil/struct_deser
Full support for tagged enums
- Dominant language
- Rust
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I'll be interested in PRs for this issue if `endian_codec` gets abandoned.
Sometimes messages coming from the wire may be different, tagged with a number. It'd be nice to have a full support for enums with specified tag type. It should be done in a way that allows the decoder to not know the size of the message before the tag is received. This may need async code.
I originally intended to implement this feature, but didn't due to lack of time.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. First map the current enum and decoder implementation, then review how endian_codec handles tagged enums. Done means supporting enums with a specified tag type while allowing decoding before the message size is known, with async behavior if required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100