[][src]Attribute Macro actix_rt::main

#[main]

Marks async function to be executed by actix system.

Usage

#[actix_rt::main]
async fn main() {
    println!("Hello world");
}