Skip to main content

main

Attribute Macro main 

Source
#[main]
Available on crate feature macros only.
Expand description

Attribute macro for the main function, equivalent to #[actix_web::rt::main(system = "actix_cloud::actix_web::rt::System")].

#[actix_cloud::main]
async fn main() -> std::io::Result<()> {
    Ok(())
}