Why does holding a non-Send type across an await point result in a non-Send Future?

前端 未结 0 1888
死守一世寂寞
死守一世寂寞 2021-02-05 17:44

In the documentation for the Send trait, there is a nice example of how something like Rc is not Send, since cloning/dropping in two different threads can cause the

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