Module pyo3_asyncio::tokio [−][src]
Expand description
tokio-runtime
PyO3 Asyncio functions specific to the tokio runtime
Modules
re_exports |
|
Functions
get_runtime | Get a reference to the current tokio runtime |
init | Initialize the Tokio Runtime with a custom build |
init_current_thread | Initialize the Tokio Runtime with current-thread scheduler |
init_current_thread_once | Ensure that the Tokio Runtime is initialized |
init_multi_thread | Initialize the Tokio Runtime with the multi-thread scheduler |
init_multi_thread_once | Ensure that the Tokio Runtime is initialized |
into_coroutine | Convert a Rust Future into a Python awaitable |
local_future_into_py | Convert a |
run_until_complete | Run the event loop until the given Future completes |
Attribute Macros
main |
|
test |
|