future_into_py

Function future_into_py 

Source
pub fn future_into_py<F, T>(
    py: Python<'_>,
    fut: F,
) -> PyResult<Bound<'_, PyAny>>
where F: Future<Output = PyResult<T>> + Send + 'static, T: for<'py> IntoPyObject<'py>,