pub fn read_with_behavior<T: Send + Sync + 'static>(
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.