Expand description
This crate provides the way to “link” futures into a single block, which stops executing once any of these futures complete.
Under the hood, it uses FuturesUnordered
to execute multiple futures efficiently. In order to avoid boxing, custom one-of
type from
one-of-futures
crate is generated for
each link_futures
block.
Macros§
- impl_
one_ of - Macro to implement custom
OneOf
type. - link_
futures - Link multiple futures into a single block
- linked_
block - Create necessary enums for later usage with
link_futures
Structs§
- Futures
Unordered - A set of futures which may complete in any order.
Traits§
- Stream
Ext - An extension trait for
Stream
s that provides a variety of convenient combinator functions.