pub fn read_storage(
arc: &Arc<RwLock<Storage>>,
) -> Result<RwLockReadGuard<'_, Storage>>Expand description
Acquire a poisoned-lock-aware read guard. Lock poisoning is a
programming bug (a previous writer panicked while holding the
lock); production code surfaces it as a typed error rather than
re-panicking through unwrap.