Attribute Macro actix_macros::main[][src]

#[main]
Expand description

Marks async function to be executed by actix system.

Usage

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