I have a dispatcher that I would like to be able to accept generics. In this particular instance I actually need three generics.
It would be nice if the Context could support generics, however I'm not sure how gnarly that would make the macro.
My workaround for now is to have the Context contain a Box<dyn MyInterface + Send> which does the trick.
I have a dispatcher that I would like to be able to accept generics. In this particular instance I actually need three generics.
It would be nice if the
Contextcould support generics, however I'm not sure how gnarly that would make the macro.My workaround for now is to have the Context contain a
Box<dyn MyInterface + Send>which does the trick.