I'm having a bit of trouble moving my previously RefCell'ed code into a thread safe world. I'm coming across an error that has to do with dyn Traits, and I don't think the compiler is giving me that useful of information.
I saw and read a couple of posts on impl vs dyn, but I think this more has to do with the containers of Box, Muted, and Arc.
In the link below I have my previous implentation that works and the new impl that's doesn't. Any help would be appreciated.
We have to relax the implicit Sized requirement (because trait objects are dynamically sized) and need to provide the trait object as reference (because we can't pass dynamically sized types around).