I really don't know how to solve this problem #263
-
|
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Aug 24, 2021
Replies: 2 comments 9 replies
-
Try to isolate which part of the function makes it not work
|
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
davidpdrsn
-
Had a similar problem. The problem was the RwLockWriteGuard from std::sync (it is !Send). Switching to RwLock from tokio solved my problem. |
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
Try to isolate which part of the function makes it not work
todo!()
.Send
, but that doesn't seem to be an issue here.()
or(StatusCode, HeaderMap, Vec<u8>)
. MaybeAppResult
's error type doesn't implementIntoResponse
?