I want to extend the Icmpv6Type with NDP packets like so:
pub enum Icmpv6Type {
// ...
RouterSolicitation,
RouterAdvertisement(...),
NeighborSolicitation,
NeighborAdvertisement(...),
Redirect,
}
Is this something you'd be interested in or would you rather Icmpv6Type::Unknown be used for this?
This would be a breaking change too, might be worth considering using #[non_exhaustive].
Assuming yes, do you any preferences for how this is done? A struct for every type perhaps? Or add any extra data to the enum entry itself?