I currently have a "composed type" that is passed around a lot in my program which is Arc<RwLock<Vec<Metadata>>>
.
Is there a way to condense this long nested type into a simple one for ease to use through out the program?
Something like type Lock = Arc<RwLock<Vec<Metadata>>>