rustbus icon indicating copy to clipboard operation
rustbus copied to clipboard

Enum Unmarshal derive should (optionally?) support a default case of either a Variant a signature (or something else?)

Open KillingSpark opened this issue 1 year ago • 0 comments

The derived Unmarshal impl for enums currently returns an error when none of the expected variants have been encountered.

The best would probably be an attribute that designates one enum variant as not a "normal" variant but one that is used for that default case.

KillingSpark avatar Mar 06 '24 15:03 KillingSpark