pub fn write<T>(lock: &RwLock<T>) -> RwLockWriteGuard<'_, T>
Take lock for writing, ignoring poisoning.
lock