Skip to main content

Module future

Module future 

Source
Expand description

Additional combinators for futures and optional futures.

The extensions compose Boolean, optional, and fallible outputs without awaiting them early. Comparison and selection helpers are included.

ModulesΒ§

bool_ext πŸ”’
Extended external extensions to futures::FutureExt
ext_ext πŸ”’
Extended external extensions to futures::FutureExt
option_ext πŸ”’
option_stream πŸ”’
ready_bool_ext πŸ”’
ready_eq_ext πŸ”’
Future extension for Partial Equality against present value
try_ext_ext πŸ”’
Extended external extensions to futures::TryFutureExt

TraitsΒ§

BoolExt
Combines Boolean futures with concurrent short-circuit logic.
ExtExt
Adds a stop-future race to ordinary futures.
OptionFutureExt
Adds option-like combinators to futures with optional output.
OptionStream
Converts an optional future of initial and trailing items into a stream.
ReadyBoolExt
Tests the Boolean output of a future without awaiting it early.
ReadyEqExt
Compares a future’s output with a borrowed value.
TryExtExt
Adds result-like combinators to fallible futures.

FunctionsΒ§

and
Computes the conjunction of an iterator of Boolean futures.
and4
Computes the conjunction of four Boolean futures.
and5
Computes the conjunction of five Boolean futures.
and6
Computes the conjunction of six Boolean futures.
and7
Computes the conjunction of seven Boolean futures.
or
Computes the disjunction of an iterator of Boolean futures.