Please, how can I pass a reference to a struct containing references like in the below picture as an argument to an async function?
needs to pass a reference to that struct to this async function
keep getting implicit elided lifetime not allowed here
alice
2
Instead of posting an image, please follow our guidelines on code formatting as described here.
You could try &'a PrepareRequestBuilder<'a>
.
Thanks, your solution worked
I Will follow the guidelines next time
system
Closed
4
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.