Replies: 1 comment
-
Nevermind I misunderstood the async_recursion documentation. I found the issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I'm writing a simple redis server and I have an issue. I have an async
handle_connection
function that calls an async functionparse_req
. I want to makeparse_req
recursive, so I installed the async_recursion crate. Now to the issue: I need the future to beSend
. If I mark it asSend
in the async_recursion macro, it complains that it awaits a future that isn'tSend
. Is there any way I could make is recursive?Beta Was this translation helpful? Give feedback.
All reactions