pub fn write<T>(lock: &RwLock<T>) -> RwLockWriteGuard<'_, T>Expand description
Write-locks lock, taking the data even when a panicking thread poisoned it.
pub fn write<T>(lock: &RwLock<T>) -> RwLockWriteGuard<'_, T>Write-locks lock, taking the data even when a panicking thread poisoned it.