Function pyo3::impl_::wrap::map_result_into_py

source ·
pub fn map_result_into_py<T: IntoPy<PyObject>>(
    py: Python<'_>,
    result: PyResult<T>
) -> PyResult<PyObject>
Expand description

This is a follow-up function to OkWrap::wrap that converts the result into a safe wrapper.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here