[][src]Attribute Macro runtime::main

#[main]

Defines the async main function.

Examples

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