fn map_result<T, U, F>(result: LockResult<T>, f: F) -> LockResult<U>where
F: FnOnce(T) -> U,Available on non-
Py_LIMITED_API and Py_3_13 only.fn map_result<T, U, F>(result: LockResult<T>, f: F) -> LockResult<U>where
F: FnOnce(T) -> U,Py_LIMITED_API and Py_3_13 only.