Skip to content

Add Pool custom-error APIs and blocking client variants#52

Merged
ryanfowler merged 1 commit into
mainfrom
add-missing-pool-and-blocking
May 27, 2026
Merged

Add Pool custom-error APIs and blocking client variants#52
ryanfowler merged 1 commit into
mainfrom
add-missing-pool-and-blocking

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Added the missing Pool::conn_and_then and Pool::conn_mut_and_then methods, delegating through self.get() to match the Client API.
  • Added blocking custom-error variants on Client and Pool: conn_and_then_blocking and conn_mut_and_then_blocking.
  • Covered the new API surface with async and blocking regression tests that exercise custom error propagation.

Testing

  • cargo test
  • cargo clippy -- -D warnings
  • cargo fmt --all -- --check

@ryanfowler ryanfowler merged commit 14043d4 into main May 27, 2026
2 checks passed
@ryanfowler ryanfowler deleted the add-missing-pool-and-blocking branch May 27, 2026 05:46
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

Successfully merging this pull request may close these issues.

1 participant