[β]Attribute Macro async_std::main
#[main]
This is supported on
attributes
only.Enables an async main function.
Examples
βThis example is not tested
#[async_std::main] async fn main() -> std::io::Result<()> { Ok(()) }