Hi @steffahn, sorry for bothering you again, do you think if I can achieve the same thing with
I tried changing
impl<T: Any + Send + Sync> IntoAnyArc for T
impl<T: Any + Send + Sync + ?Sized> IntoAnyArc for T
but it would cause compiler to complaint
size of values of type T cannot be known at compilation time.
I also tried
impl<T: Any + Send + Sync + ?Sized> IntoAnyArc for RwLock<T>
It would make me encountering the size issue in some other part of the system.
Just want to pick your brain to see a big picture about it . Maybe I am on the wrong path entirely? Maybe I could create a custom smart pointer type that combines both the behavior of