Sharing a connection pool inside a closure

后端 未结 0 969
误落风尘
误落风尘 2020-12-03 05:47

I have the following code:

#[async_std::main]
async fn main() -> tide::Result<()> {
    let mut app = tide::new();

    let pool = MySqlPoolOptions::         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题