-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: use
Executor
trait instead of concrete type (#47)
Alternative to #24. Currently, `Pool` cannot be used at all. It requires a concrete `Exec`, and that is private. The #24 PR simply made `Exec` public. However, there is already other things in this crate that require an `Exec` (`legacy::Client`). This adapts `Pool` to follow the same pattern as used for `Client`, taking in a trait. This change is NOT a breaking change, as `Pool` cannot be used at all currently, so no one could be broken.
- Loading branch information
1 parent
0c187a3
commit e91fba8
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters