wlan_hw_sim::event::branch

Trait AndChain

Source
pub trait AndChain<S, E> {
    type Combinator: Handler<S, E>;

    // Required method
    fn chain(self) -> Self::Combinator;
}
Expand description

Types that describe a sequence of event handlers that can be combined via and.

Required Associated Types§

Required Methods§

Source

fn chain(self) -> Self::Combinator

Implementations on Foreign Types§

Source§

impl<S, E, H> AndChain<S, E> for Vec<H>
where H: Handler<S, E>,

Source§

impl<S, E, T1, T2, T3, T4, T5, T6, T7, T8> AndChain<S, E> for (T1, T2, T3, T4, T5, T6, T7, T8)
where T1: Handler<S, E>, T2: Handler<S, E>, T3: Handler<S, E>, T4: Handler<S, E>, T5: Handler<S, E>, T6: Handler<S, E>, T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<And<And<And<And<And<And<T1, T2>, T3>, T4>, T5>, T6>, T7>, T8>

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, T2, T3, T4, T5, T6, T7, T8> AndChain<S, E> for (T2, T3, T4, T5, T6, T7, T8)
where T2: Handler<S, E>, T3: Handler<S, E>, T4: Handler<S, E>, T5: Handler<S, E>, T6: Handler<S, E>, T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<And<And<And<And<And<T2, T3>, T4>, T5>, T6>, T7>, T8>

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, T3, T4, T5, T6, T7, T8> AndChain<S, E> for (T3, T4, T5, T6, T7, T8)
where T3: Handler<S, E>, T4: Handler<S, E>, T5: Handler<S, E>, T6: Handler<S, E>, T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<And<And<And<And<T3, T4>, T5>, T6>, T7>, T8>

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, T4, T5, T6, T7, T8> AndChain<S, E> for (T4, T5, T6, T7, T8)
where T4: Handler<S, E>, T5: Handler<S, E>, T6: Handler<S, E>, T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<And<And<And<T4, T5>, T6>, T7>, T8>

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, T5, T6, T7, T8> AndChain<S, E> for (T5, T6, T7, T8)
where T5: Handler<S, E>, T6: Handler<S, E>, T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<And<And<T5, T6>, T7>, T8>

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, T6, T7, T8> AndChain<S, E> for (T6, T7, T8)
where T6: Handler<S, E>, T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<And<T6, T7>, T8>

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, T7, T8> AndChain<S, E> for (T7, T8)
where T7: Handler<S, E>, T8: Handler<S, E>,

Source§

type Combinator = And<T7, T8>

Source§

fn chain(self) -> Self::Combinator

Implementors§