Attribute Macro main
#[main]
Expand description
Marks async entry-point function to be executed by Actix system.
ยงExamples
#[actix_rt::main]
async fn main() {
println!("Hello world");
}
#[main]
Marks async entry-point function to be executed by Actix system.
#[actix_rt::main]
async fn main() {
println!("Hello world");
}