[][src]Attribute Macro ntex::main

#[main]

Marks async function to be executed by ntex system.

Usage

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