I’m looking for a crate or design pattern for using thread-local storage, but in a way that stores separate values per object per thread.
thread_local! is for static variables, and I’m looking for thread-local equivalent of a regular property/object property.
I imagine it’d be something like a HashMap with thread ID as the key. Does this exist already?