-
Is it possible to call TIA :) |
Beta Was this translation helpful? Give feedback.
Answered by
yusdacra
Aug 26, 2021
Replies: 1 comment 3 replies
-
Your |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
hecrj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your
get_data_async
method borrows some data fromself
, andCommand
s require'static
lifetime, butself
is not'static
, so Rust complains. You shouldClone
(.clone()
) whatever data you need to perform the async code inget_data_async
, so that nothing is borrowed fromself
.