Replies: 2 comments
-
Any updates on this? @bontxa |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think it’s caused by
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a Rust newbie. I'm trying to create a pool of tokio-postgres connections to a handler, it should use the connection for fill a database table. I used deadpool-postgres and it seems it creates the pool. Problem is that i can't pass the pool to the handler.
here is the code related to the problem:
error reported is:
to fix this error i change this line:
in:
but now the new error is:
this is my Cargo.toml dependencies section:
I halso tried with 'Extension' instead of 'State' but the situation is the same. Any help is appreciated, thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions