What's the Rust syntax to use trait and generic in methods?

后端 未结 0 641
走了就别回头了
走了就别回头了 2021-01-11 15:23

In general, I want to have a trait(Requestor) which contain one method returning a T in another trait(ResponseWriter).

I search

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