pub fn and<S, E, T>(
handlers: T,
) -> impl Handler<S, E, Output = <T::Combinator as Handler<S, E>>::Output>where
T: AndChain<S, E>,
Expand description
Executes the handlers in a tuple or Vec
in order until a handler does not match the
event. If all handlers match, then the output of the last handler in the sequence is returned,
otherwise Handled::Unmatched
.