Module pyo3_asyncio::tokio[][src]

Expand description

tokio-runtime PyO3 Asyncio functions specific to the tokio runtime

Modules

attributes re-exports for macros

Functions

Convert a Rust Future into a Python awaitable

Convert a Rust Future into a Python awaitable

Get the current event loop from either Python or Rust async task local context

Get a reference to the current tokio runtime

Initialize the Tokio runtime with a custom build

into_coroutineDeprecated

Convert a Rust Future into a Python awaitable

Convert a Python awaitable into a Rust Future

Convert a !Send Rust Future into a Python awaitable

Convert a !Send Rust Future into a Python awaitable

Run the event loop until the given Future completes

Run the event loop until the given Future completes

Set the task local event loop for the given future

Set the task local event loop for the given !Send future

Attribute Macros

attributes

attributes testing Registers a tokio test with the pyo3-asyncio test harness