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

Wait combinators #678

Merged
merged 4 commits into from
Oct 26, 2021
Merged

Wait combinators #678

merged 4 commits into from
Oct 26, 2021

Conversation

nightkr
Copy link
Member

@nightkr nightkr commented Oct 26, 2021

As discussed in #669

Signed-off-by: Teo Klestrup Röijezon <[email protected]>
Signed-off-by: Teo Klestrup Röijezon <[email protected]>
@nightkr nightkr requested a review from clux October 26, 2021 12:30
Signed-off-by: Teo Klestrup Röijezon <[email protected]>
Copy link
Member

@clux clux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, impls on the Condition trait itself. That's nice. 👍

@nightkr
Copy link
Member Author

nightkr commented Oct 26, 2021

It would've been nice to overload & and | for this, but that doesn't work with trait coherency (since we have no idea whether the Fn already implements BitAnd or BitOr).

@nightkr nightkr merged commit 4eb11f7 into kube-rs:master Oct 26, 2021
@nightkr nightkr deleted the feature/wait-combinators branch October 26, 2021 13:31
@clux
Copy link
Member

clux commented Oct 26, 2021

technically this snuck in the patch release 0.63.1, but definitely not a breaking change anyway.

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