How can I make a postgres pool connection global in rocket.rs and make FromRequest custom guards asyncable?

后端 未结 0 1073
予麋鹿
予麋鹿 2021-01-17 03:05

I am making an authorization system which will implement the FromRequest trait from the web framework rocket, which is needed to make custom guards.

The

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