pyo3

Module coroutine

Source
Expand description

Python coroutine implementation, used notably when wrapping async fn with #[pyfunction]/#[pymethods].

Structsยง

CancelHandle
Helper used to wait and retrieve exception thrown in Coroutine.
Coroutine
Python coroutine wrapping a Future.