Expand description
PyO3 bindings to various Python asynchronous frameworks.
Modules§
- asyncio
asyncio
compatible coroutine and async generator implementation.- sniffio
asyncio
/trio
compatible coroutine and async generator implementation, lazily specialized usingsniffio
.- trio
trio
compatible coroutine and async generator implementation.
Structs§
- Allow
Threads - Wrapper for
Future
/Stream
that releases GIL while polling inPyFuture
/PyStream
.
Traits§
- Allow
Threads Ext - Extension trait to allow threads while polling
Future
orStream
. - PyFuture
- GIL-bound
Future
. - PyStream
- GIL-bound
Stream
.
Type Aliases§
- Throw
Callback - Callback for Python coroutine
throw
method (seeasyncio::Coroutine::new
) and async generatorathrow
method (seeasyncio::AsyncGenerator::new
).
Attribute Macros§
- pyfunction
pyo3::pyfunction
with async support.- pymethods
pyo3::pymethods
with async support.