Skip to main content

Operator

Trait Operator 

Source
pub trait Operator<'a, I, A>
where A: Action<I>,
{ // Required method fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>> where S: Into<Subscriber<'a, I, A>>; }
Expand description

Operator.

Required Methods§

Source

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Subscribe the given subscriber.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, I, A, T1, T2> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>)
where I: Id, A: Action<I, Inputs = (T1, T2)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Source§

impl<'a, I, A, T1, T2, T3> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>)
where I: Id, A: Action<I, Inputs = (T1, T2, T3)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Source§

impl<'a, I, A, T1, T2, T3, T4> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>)
where I: Id, A: Action<I, Inputs = (T1, T2, T3, T4)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Source§

impl<'a, I, A, T1, T2, T3, T4, T5> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>)
where I: Id, A: Action<I, Inputs = (T1, T2, T3, T4, T5)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Source§

impl<'a, I, A, T1, T2, T3, T4, T5, T6> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>, Stream<I, T6>)
where I: Id, A: Action<I, Inputs = (T1, T2, T3, T4, T5, T6)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Source§

impl<'a, I, A, T1, T2, T3, T4, T5, T6, T7> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>, Stream<I, T6>, Stream<I, T7>)
where I: Id, A: Action<I, Inputs = (T1, T2, T3, T4, T5, T6, T7)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Source§

impl<'a, I, A, T1, T2, T3, T4, T5, T6, T7, T8> Operator<'a, I, A> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>, Stream<I, T6>, Stream<I, T7>, Stream<I, T8>)
where I: Id, A: Action<I, Inputs = (T1, T2, T3, T4, T5, T6, T7, T8)> + 'static,

Source§

fn subscribe<S>(&self, subscriber: S) -> Stream<I, A::Output<'a>>
where S: Into<Subscriber<'a, I, A>>,

Implementors§

Source§

impl<'a, I, A, T> Operator<'a, I, A> for Stream<I, T>
where I: Id, A: Action<I, Inputs = (T,)> + 'static,