Skip to main content

map_result

Function map_result 

Source
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.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here