Lifetime issue with generic closure (FnOnce) - “borrowed value does not live long enough”

后端 未结 0 908
悲&欢浪女
悲&欢浪女 2021-01-30 19:34

I\'m trying to write a simple utility function that wraps a given closure and exposes some database-related objects. It looks like this:



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