Module pyo3_asyncio::generic[][src]

Expand description

Generic implementations of PyO3 Asyncio utilities that can be used for any Rust runtime

Traits

JoinError

Generic utilities for a JoinError

Runtime

Generic Rust async/await runtime

SpawnLocalExt

Extension trait for async/await runtimes that support spawning local tasks

Functions

into_coroutine

Convert a Rust Future into a Python awaitable with a generic runtime

local_future_into_py

Convert a !Send Rust Future into a Python awaitable with a generic runtime

run_until_complete

Run the event loop until the given Future completes