I have a caching mechanism. I am planning to use the following type.
My goal here, data should be accessed by multiple threads (
Arc) it should not have race conditions (
RwLock) and finally, I don’t want to clone the values but want to be able to access the originals (
and now and then I should be able to update the fields of the user_data contained in the
Is this structure correct, am I missing or overlooking something?