Expand description
Stream adapters for synchronous, concurrent, and fallible transformations.
The module extends futures streams with ordered and completion-ordered concurrency, ready closures, aggregation, and result handling.
Modulesยง
- band ๐
- broadband ๐
- Broadband stream combinator extensions to futures::Stream
- cloned ๐
- expect ๐
- ignore ๐
- iter_
stream ๐ - ready ๐
- Synchronous combinator extensions to futures::Stream
- tools ๐
- StreamTools for futures::Stream
- try_
broadband ๐ - Synchronous combinator extensions to futures::TryStream
- try_
parallel ๐ - Parallelism stream combinator extensions to futures::Stream
- try_
ready ๐ - Synchronous combinator extensions to futures::TryStream
- try_
tools ๐ - TryStreamTools for futures::TryStream
- try_
wideband ๐ - Synchronous combinator extensions to futures::TryStream
- wideband ๐
- Wideband stream combinator extensions to futures::Stream
Constantsยง
- AMPLIFICATION_
LIMIT - Practicable limits on the stream amplifier.
- WIDTH_
LIMIT - Practicable limits on the stream width.
Traitsยง
- Broadband
Ext - Adds concurrent transformations with completion-ordered output.
- Cloned
- Clones items yielded by a stream of shared references.
- Iter
Stream - Converts synchronous iterables into immediately ready streams.
- Ready
Ext - Adds synchronous counterparts to selected [
StreamExt] combinators. - Tools
- Adds aggregation, sampling, and folding operations to streams.
- TryBroadband
Ext - Adds bounded concurrent transformations with completion-ordered outputs.
- TryExpect
- Converts fallible stream items into values by expecting success.
- TryIgnore
- Selects successful or failed items from a result stream.
- TryParallel
Ext - Adds unordered parallel transformations for fallible streams.
- TryReady
Ext - Adds synchronous combinators to fallible streams.
- TryTools
- Adds general-purpose operations to fallible streams.
- TryWideband
Ext - Adds bounded concurrent transformations with ordered transform results.
- Wideband
Ext - Adds bounded concurrent transformations that preserve stream order.
Functionsยง
- automatic_
amplification - Used by stream operations where the amplification hasnโt been manually supplied by the caller. Instead we provide a computed value.
- automatic_
width - Returns the live default concurrency width for stream operations.
- set_
amplification - Sets the live concurrency amplification. The first return value is the previous width which was replaced. The second return value is the value which was set after any applied limits.
- set_
width - Sets the live concurrency factor. The first return value is the previous width which was replaced. The second return value is the value which was set after any applied limits.