Attribute Macro pyo3_asyncio_macros::async_std_main[][src]

#[async_std_main]
Expand description

Enables an async main function that uses the async-std runtime.

Examples

#[pyo3_asyncio::async_std::main]
async fn main() -> PyResult<()> {
    Ok(())
}