How to specify a Rust struct field must satisfy a trait when the struct has async methods?

前端 未结 0 2030
别那么骄傲
别那么骄傲 2021-02-04 10:11

Creating an authentication server.

I want a PGUserRepo struct, which implements a UserRepo trait async fn create.

The

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