Guidance re accepting a KeysInterface
and supporting transactions
#227
Unanswered
maxcountryman
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Good question. On second thought I'll add |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing a crate that ideally accepts
KeysInterface
as opposed toRedisClient
orRedisPool
but also needs to leverage transactions.Because
TransactionInterface
is not implemented forRedisPool
this bound,KeysInterface + TransactionInterface
, doesn't seem to help.Is there an established pattern for this?
Beta Was this translation helpful? Give feedback.
All reactions