[−][src]Attribute Macro actix_web_codegen::main
#[main]
Marks async main function as the actix system entry-point.
Usage
#[actix_web::main] async fn main() { async { println!("Hello world"); }.await }
#[main]
Marks async main function as the actix system entry-point.
#[actix_web::main] async fn main() { async { println!("Hello world"); }.await }