pub type RwLock<T> = RwLock<RwLock<()>, T>;
A lock that provides data access to either one writer or many readers (compatible with lock_api).
lock_api