Skip to main content

rw_lock_read

Function rw_lock_read 

Source
pub fn rw_lock_read<T>(rw_lock: &RwLock<T>) -> Result<RwLockReadGuard<'_, T>>
Expand description

Locks the reader-writer lock with shared read access.