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