Trait bound for move-closures?

后端 未结 0 1693
不知归路
不知归路 2020-12-15 04:43

Is there a way to distinguish move closures from non-move closures using a trait bound in Rust?

For context, I\'m using boxed closures in my program (Box + dyn

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