main

Attribute Macro main 

Source
#[main]
Expand description

Generate a main function that runs the async runtime and calls the annotated function