Skip to main content

Module stream

Module stream 

Source

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ยง

BroadbandExt
Concurrency extensions to augment futures::StreamExt. broad_ combinators produce out-of-order
Cloned
IterStream
ReadyExt
Synchronous combinators to augment futures::StreamExt. Most Stream combinators take asynchronous arguments, but often only simple predicates are required to steer a Stream like an Iterator. This suite provides a convenience to reduce boilerplate by de-cluttering non-async predicates.
Tools
StreamTools
TryBroadbandExt
Concurrency extensions to augment futures::TryStreamExt. broad_ combinators produce out-of-order
TryExpect
TryIgnore
TryParallelExt
Parallelism extensions to augment futures::StreamExt. These combinators are for computation-oriented workloads, unlike -band combinators for I/O workloads; these default to the available compute parallelism for the system. Threads are currently drawn from the tokio-spawn pool. Results are unordered.
TryReadyExt
Synchronous combinators to augment futures::TryStreamExt.
TryTools
TryStreamTools
TryWidebandExt
Concurrency extensions to augment futures::TryStreamExt. wide_ combinators produce in-order results
WidebandExt
Concurrency extensions to augment futures::StreamExt. wideband_ combinators produce in-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
Used by stream operations where the concurrency factor hasnโ€™t been manually supplied by the caller (most uses). Instead we provide a default value which is adjusted at startup for the specific system and also dynamically.
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.