How can I lazy initialize/fill an `Option` with a fallible initializer?

前端 未结 0 702
故里飘歌
故里飘歌 2021-01-16 23:53

Suppose I have a struct containing an Option, where Resource is some type I need to work with that needs to allocate external resou

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