[][src]Attribute Macro bitbar_derive::main

#[main]

Annotate your main function with this.

  • It can be a fn or an async fn. In the latter case, tokio's threaded runtime will be used.
  • It must return a Result<Menu, E>, for some E that implements Into<Menu>.