Pattern8
struct · ferroui-reactive · v0.5.0
struct Pattern8<T1, T2, T3, T4, T5, T6, T7, T8>
A join pattern over 8 sequences (Pattern<TSource1, ...> of 8): it matches when all of them have a value.
Members
then
fn then<R: 'static>(self: &Self, selector: impl Fn(T1, T2, T3, T4, T5, T6, T7, T8) -> R + 'static) -> Plan<R>
The plan that matches when all the sequences of the pattern have a value and projects
the values with selector (Then<TResult>(Func<TSource1, ..., TResult>)).
try_then
fn try_then<R: 'static>(self: &Self, selector: impl Fn(T1, T2, T3, T4, T5, T6, T7, T8) -> Result<R, ObservableError> + 'static) -> Plan<R>
then with a selector that may fail; a failure ends the sequence of
Observable::when with its error (Then with a selector that throws).
and
fn and<T9: 'static>(self: &Self, other: Rc<dyn IObservable<T9>>) -> Pattern9<T1, T2, T3, T4, T5, T6, T7, T8, T9>
The pattern that also needs a value of other
(And<TSourceN>(IObservable<TSourceN>)).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.