异步运行时
2026/2/15小于 1 分钟hyperlanewebrustusage-introductionasync
使用 tokio 库的异步运行时示例代码
#[tokio::main]
async fn main() {
Server::new().run().await.unwrap().wait().await
}tokio 库的异步运行时示例代码#[tokio::main]
async fn main() {
Server::new().run().await.unwrap().wait().await
}