We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you add a take method for mobc::Connection? @importcjj I can give up the current connection when I found the error is it.
take
mobc::Connection
The code is probably like follow
impl<M: Manager> Connection<M> { /// Take this Connection from the pool permanently. pub fn take(self) -> M {} }
And this method can help convert the redis connection to PubSub connection: https://docs.rs/redis/0.16.0/redis/aio/struct.Connection.html#method.into_pubsub
PubSub connection
Originally posted by @biluohc in #28 (comment)
The text was updated successfully, but these errors were encountered:
I think into_inner is better than take probably, I will add it as soon as possible.
into_inner
Sorry, something went wrong.
No branches or pull requests
Can you add a
take
method formobc::Connection
? @importcjjI can give up the current connection when I found the error is it.
The code is probably like follow
And this method can help convert the redis connection to
PubSub connection
: https://docs.rs/redis/0.16.0/redis/aio/struct.Connection.html#method.into_pubsubOriginally posted by @biluohc in #28 (comment)
The text was updated successfully, but these errors were encountered: