Skip to main content

write

Function write 

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

Lock a read write lock for writing, also if a panic poisoned it, see lock.