pub fn and<T, S, R>(reactors: R) -> <AndChain<R> as IntoReactor<T, S>>::Reactor
Expand description
Reacts with the given reactors in order until the first error.
This function accepts a type R
for which AndChain<R>
implements IntoReactor
.
AndChain
implements this trait for collection types, most notably non-unary tuple types and
Vec
of Reactor
types.
The constructed reactor returns either the responses from the given reactors or the first
encountered error. See also the Reactor::and
function.