Skip to main content

read_unpoisoned

Function read_unpoisoned 

Source
pub fn read_unpoisoned<T: ?Sized>(lock: &RwLock<T>) -> RwLockReadGuard<'_, T>
Expand description

Read lock, whose value no panic can leave half-changed.