-
Notifications
You must be signed in to change notification settings - Fork 292
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
Add Future-like combinators #396
Merged
+516
−0
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
75f3521
Add rudimentary combinators
hlbarber ad77280
Add doc tests for map_ok, map_err, and with
hlbarber 3c66ab2
Remove redundant tests and cargo fmt
hlbarber 1efdc6c
Fix typo in documentation
hlbarber 3a57a67
Move combinators
hlbarber 0a0358b
Refactor phantom data fields
hlbarber c11f11b
Simplify PhantomData constructors
hlbarber c4a3134
cargo fmt
hlbarber 97642d3
Remove useless constraints
hlbarber 9acdcb8
Add missing debug
hlbarber 2ae116c
Add better documentation for map_ok and map_err
hlbarber 3c06dd7
Add documentation to "with"
hlbarber 45fb7dd
Add TryWith and TryWithLayer
hlbarber 4d028e6
Add try_with combinator to ServiceExt
hlbarber b082b12
Remove "unreachable_pub" warning from combinators
hlbarber aa3e593
Add try_with documentation
hlbarber e443087
Improve documentation
hlbarber 35c1d6b
Switch to intra-doc links
hlbarber e8ef586
Improve and fix documentation tests
hlbarber aa7a721
cargo fmt
hlbarber 1148f52
Improve consistency across trait bound layout
hlbarber 2a245fb
Relax bounds on combinator layers
hlbarber e1e7a68
NewRequest -> R1, OldRequest -> R2 for combinator generics
hlbarber f58f90f
Move combinators from /util/combinators/* to /util/*
hlbarber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add try_with documentation
commit aa3e5930a13205f4ba676a337d496dc8199b79d1
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, maybe worth linking
futures::SinkExt::try_with
here? Not a big deal.