[−][src]Attribute Macro runtime_attributes::main
#[main]
Defines the async main function.
Examples
ⓘThis example is not tested
#[runtime::main] async fn main() -> std::io::Result<()> { Ok(()) }
#[main]
Defines the async main function.
#[runtime::main] async fn main() -> std::io::Result<()> { Ok(()) }