Skip to main content

acquire_read

Function acquire_read 

Source
pub fn acquire_read<'a, T>(
    lock: &'a RwLock<T>,
    context: &str,
) -> RwLockReadGuard<'a, T>
Expand description

Acquire a read lock on an RwLock, recovering from poisoning.