[−][src]Trait omnistreams::Producer
Required methods
fn request(&mut self, num_items: usize)
fn event_stream(&mut self) -> Option<ProducerEventRx<T>>
fn set_event_stream(&mut self, event_stream: ProducerEventRx<T>)
Provided methods
fn pipe_into<C>(self, consumer: C) where
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
fn pipe_through<C, U>(self, conduit: C) -> C::ConcreteProducer where
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
fn events(&mut self) -> ProducerEventEmitter<T>
Implementors
impl Producer<i64> for RangeProducer
[src]
fn request(&mut self, num_items: usize)
[src]
fn event_stream(&mut self) -> Option<ProducerEventRx<i64>>
[src]
fn set_event_stream(&mut self, event_stream: ProducerEventRx<i64>)
[src]
fn pipe_into<C>(self, consumer: C) where
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
[src]
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
fn pipe_through<C, U>(self, conduit: C) -> C::ConcreteProducer where
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
[src]
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
fn events(&mut self) -> ProducerEventEmitter<T>
[src]
impl<A, B> Producer<B> for MapConduit<A, B> where
B: Send + 'static,
[src]
B: Send + 'static,
fn request(&mut self, num_items: usize)
[src]
fn event_stream(&mut self) -> Option<ProducerEventRx<B>>
[src]
fn set_event_stream(&mut self, event_stream: ProducerEventRx<B>)
[src]
fn pipe_into<C>(self, consumer: C) where
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
[src]
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
fn pipe_through<C, U>(self, conduit: C) -> C::ConcreteProducer where
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
[src]
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
fn events(&mut self) -> ProducerEventEmitter<T>
[src]
impl<B> Producer<B> for MapProducer<B> where
B: Send + 'static,
[src]
B: Send + 'static,
fn request(&mut self, num_items: usize)
[src]
fn event_stream(&mut self) -> Option<ProducerEventRx<B>>
[src]
fn set_event_stream(&mut self, event_stream: ProducerEventRx<B>)
[src]
fn pipe_into<C>(self, consumer: C) where
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
[src]
Self: Sized + Send + 'static,
C: Consumer<T> + Sized + Send + 'static,
T: Send + 'static,
fn pipe_through<C, U>(self, conduit: C) -> C::ConcreteProducer where
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,
[src]
Self: Sized + Send + 'static,
C: Conduit<T, U> + Sized + Send + 'static,
T: Send + 'static,
U: Send + 'static,
C::ConcreteConsumer: Send,