wlan_hw_sim::event::branch

Trait OrChain

Source
pub trait OrChain<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 or.

Required Associated Types§

Required Methods§

Source

fn chain(self) -> Self::Combinator

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, O, T2, T3, T4, T5, T6, T7, T8> OrChain<S, E> for (T2, T3, T4, T5, T6, T7, T8)
where T2: Handler<S, E, Output = O>, T3: Handler<S, E, Output = O>, T4: Handler<S, E, Output = O>, T5: Handler<S, E, Output = O>, T6: Handler<S, E, Output = O>, T7: Handler<S, E, Output = O>, T8: Handler<S, E, Output = O>,

Source§

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

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, O, T3, T4, T5, T6, T7, T8> OrChain<S, E> for (T3, T4, T5, T6, T7, T8)
where T3: Handler<S, E, Output = O>, T4: Handler<S, E, Output = O>, T5: Handler<S, E, Output = O>, T6: Handler<S, E, Output = O>, T7: Handler<S, E, Output = O>, T8: Handler<S, E, Output = O>,

Source§

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

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, O, T4, T5, T6, T7, T8> OrChain<S, E> for (T4, T5, T6, T7, T8)
where T4: Handler<S, E, Output = O>, T5: Handler<S, E, Output = O>, T6: Handler<S, E, Output = O>, T7: Handler<S, E, Output = O>, T8: Handler<S, E, Output = O>,

Source§

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

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, O, T5, T6, T7, T8> OrChain<S, E> for (T5, T6, T7, T8)
where T5: Handler<S, E, Output = O>, T6: Handler<S, E, Output = O>, T7: Handler<S, E, Output = O>, T8: Handler<S, E, Output = O>,

Source§

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

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, O, T6, T7, T8> OrChain<S, E> for (T6, T7, T8)
where T6: Handler<S, E, Output = O>, T7: Handler<S, E, Output = O>, T8: Handler<S, E, Output = O>,

Source§

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

Source§

fn chain(self) -> Self::Combinator

Source§

impl<S, E, O, T7, T8> OrChain<S, E> for (T7, T8)
where T7: Handler<S, E, Output = O>, T8: Handler<S, E, Output = O>,

Source§

type Combinator = Or<T7, T8>

Source§

fn chain(self) -> Self::Combinator

Implementors§