How to write a Rust generator that returns an asynchronous stream?

后端 未结 0 1364
眼角桃花
眼角桃花 2020-12-06 03:17

Let\'s say I have a trait IMyWriter that has a function flush_to_disk that gets an iterator of the pieces to write. Each piece that\'s written shou

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