Skip to main content

write

Function write 

Source
pub fn write<T>(lock: &RwLock<T>) -> RwLockWriteGuard<'_, T>
Expand description

Write-locks lock, taking the data even when a panicking thread poisoned it.