How can I annotate the lifetimes for this Rust/Calloop callback code?

后端 未结 0 1706
盖世英雄少女心
盖世英雄少女心 2021-02-04 22:01

I am trying to write a function that adds a callback function to Calloop\'s event loop. The code works fine if it is simply pasted into a function where the function parameters

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