Convert Rust Option> to impl Future

前端 未结 0 1484
无人共我
无人共我 2021-01-29 09:22

Say I have some optional input that, when Some, renders a Future. I want to immediately .await and use the output of this value as S

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