17

`TryFlattenUnordered` by olegnn · Pull Request #2577 · rust-lang/futures-rs · Gi...

 2 years ago
source link: https://github.com/rust-lang/futures-rs/pull/2577
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Contributor

@olegnn olegnn commented on Mar 12

edited
  • Basic TryFlattenUnordered implementation atop of FlattenUnordered.
  • Improve the FlattenUnordered interface by removing the Unpin requirement for Self::Item. This's much more convenient and I guess it's a good choice for simplification despite a possibly unneeded Pin<Box<_>>.
  • FusedStream impl for FlattenUnordered: remove unneeded Self::Item: FusedStream requirement.
  • Minor improvement of the FlattenUnordered internal logic.
  • Export all underlying types.
  • Docs improvements.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK