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