upvote
You can use one generic enum with a trait holding the payload type. I posted an example as response to your first comment.
reply