Cannot infer lifetime for async method

后端 未结 0 713
情深已故
情深已故 2021-01-05 18:02

Consider the following code:

struct Base{
    value: u32
}

impl Base{
    async fn create_test_async(&self, some_string: &str) -> Option

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