Skip to content
New issue

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

Ergonomics suggestion: export MutexGuard #22

Open
rw opened this issue Oct 20, 2020 · 0 comments
Open

Ergonomics suggestion: export MutexGuard #22

rw opened this issue Oct 20, 2020 · 0 comments

Comments

@rw
Copy link

rw commented Oct 20, 2020

The objects returned from ConnectionPool::get are MutexGuard<'_, Connection> values. The definition of MutexGuard is dependent on whether the async_std feature is enabled or not. Could we make the darkredis MutexGuard public so that we can reference it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant