Crate pyo3_async
source ·Expand description
PyO3 bindings to various Python asynchronous frameworks.
Modules
asyncio
compatible coroutine and async generator implementation.asyncio
/trio
compatible coroutine and async generator implementation, lazily specialized usingsniffio
.trio
compatible coroutine and async generator implementation.
Structs
Traits
- Extension trait to allow threads while polling
Future
or [Stream
]. - GIL-bound
Future
. - GIL-bound [
Stream
].
Type Aliases
- Callback for Python coroutine
throw
method (seeasyncio::Coroutine::new
) and async generatorathrow
method (seeasyncio::AsyncGenerator::new
).
Attribute Macros
pyo3::pyfunction
with async support.pyo3::pymethods
with async support.