[][src]Attribute Macro async_attributes::main

#[main]

Defines the async main function.

Examples

This example is not tested
#[async_attributes::main]
async fn main() -> std::io::Result<()> {
    Ok(())
}