pub fn read_with_behavior<T>(
lock: &Arc<RwLock<T>>,
context: &str,
behavior: LockFailBehavior,
) -> Result<Option<OwnedRwLockReadGuard<T>>, LockTimeoutError>Expand description
Acquire a read lock with explicit timeout behavior for this operation.