Attribute Macro async_std::main [−][src]
#[main]
This is supported on
attributes
only.Expand description
Enables an async main function.
Examples
ⓘ
#[async_std::main]
async fn main() -> std::io::Result<()> {
Ok(())
}