#Problem with static closure lifetimes
3 messages · Page 1 of 1 (latest)
any clue? the client error is not a problem, i can just clone and move it
you need to move arc into closure and then lock it and borrow
3 messages · Page 1 of 1 (latest)
i think the two problems is that you borrow orders before the closure, and that client is borrowed when used in tokio::spawn
any clue? the client error is not a problem, i can just clone and move it
you need to move arc into closure and then lock it and borrow