Attribute Macro ntex::main[][src]

#[main]
Expand description

Marks async function to be executed by ntex system.

Usage

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