#[main]
Expand description
The macro supplying startup boilerplate
Use it on async main
function like this:
ⓘ
#[async_app::main]
async fn main(mut scope: async_app::Scope) {
//...
}