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
Future
wrapper for Python future.
Enums
- Cancel-on-drop error handling policy (see
FutureWrapper::new
).
Traits
- GIL-bound
Future
. - GIL-bound [
Stream
].
Type Aliases
- Callback for Python coroutine
throw
method (seeasyncio::Coroutine::new
) and async generatorathrow
method (seeasyncio::AsyncGenerator::new
).