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

feat(client): add is_ready() and is_closed() methods to SendRequest #3148

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

seanmonstar
Copy link
Member

These were private in 0.14, used by the Pool to know whether it could checkout a connection. It seems fine to make them public, other channel-like things have similar functions. For instance, Tokio's MPSC Sender has is_closed().

@seanmonstar seanmonstar merged commit 3fb5991 into master Feb 17, 2023
@seanmonstar seanmonstar deleted the client-dispatch-state-getters branch February 17, 2023 13:36
0xE282B0 pushed a commit to 0xE282B0/hyper that referenced this pull request Jan 12, 2024
0xE282B0 pushed a commit to 0xE282B0/hyper that referenced this pull request Jan 16, 2024
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.

2 participants