You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using deadpool_redis for asynchronous connection pool. But implementations doesn't fit for this crate.
error[E0277]: the trait bound `Lecture: deadpool_redis::redis::FromRedisValue` is not satisfied
--> src/graphql/lecture.rs:23:18
|
23 | .query_async(&mut conn)
| ^^^^^^^^^^^ the trait `deadpool_redis::redis::FromRedisValue` is not implemented for `Lecture`
The text was updated successfully, but these errors were encountered:
I'm not familiar with deadpool_redis, are its traits compatible with the redis crates traits? If they are, the code probably can be copied over from the redis implementation.
I added a fix in version 0.2.0, so now the macro uses the redis crate in scope. See the documentation and the derive_deadpool example, but most likely this will fix your problem:
I'm using deadpool_redis for asynchronous connection pool. But implementations doesn't fit for this crate.
The text was updated successfully, but these errors were encountered: