Re:Portable and Interoperable Async Rust
by nyberg on Friday December 10, 2021 @05:26PM
(#29516201)
You can use union(enum) to avoid having to write a separate enum definition for tags and std.meta.FieldEnum() exists should you also want to derive an enum from the union later on.
[ Parent
| on HN ]
There are no comments on this comment yet.