How to restrict async_trait function's return value to implement Sync?

后端 未结 0 1980
一向
一向 2021-01-27 16:32

I\'m using the async_trait crate to define an async method on a trait. I intend to transform the Future it returns into a Stream

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