In the tokio-postgres documentation in the first example, there is an example showing that you should run the database connection in a separate thread:
確定! 回上一頁