Crate pyo3_anyio

Source
Expand description

PyO3 utility bindings for Anyio’s event loop.

Modules§

any
Functions and structs used for interacting with any Rust runtime.
tokio
Tokio specific functions for handling futures and coroutines.
traits
Traits used for handling Rust async runtimes and Python event loops.

Structs§

Asyncio
Reference to the current Asyncio event loop.
Trio
Reference to the current Trio loop.

Functions§

get_running_loop
Get the current thread’s active event loop.