Attribute Macro actix::main[][src]

#[main]

Marks async function to be executed by Actix system.

Examples

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