[][src]Struct omnistreams::MapConduit

pub struct MapConduit<A, B> { /* fields omitted */ }

Methods

impl<A, B> MapConduit<A, B> where
    A: Send + 'static,
    B: Send + 'static, 
[src]

pub fn new<F: FnMut(A) -> B + Send + 'static>(f: F) -> MapConduit<A, B>[src]

Trait Implementations

impl<A, B> Producer<B> for MapConduit<A, B> where
    B: Send + 'static, 
[src]

fn pipe_into<C>(self, consumer: C) where
    Self: Sized + Send + 'static,
    C: Consumer<T> + Sized + Send + 'static,
    T: Send + 'static, 
[src]

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]

fn events(&mut self) -> ProducerEventEmitter<T>[src]

impl<A, B> Consumer<A> for MapConduit<A, B>[src]

impl<A, B> Streamer for MapConduit<A, B>[src]

impl<A, B> Conduit<A, B> for MapConduit<A, B> where
    B: Send + 'static, 
[src]

impl<A: Debug, B: Debug> Debug for MapConduit<A, B>[src]

Auto Trait Implementations

impl<A, B> Send for MapConduit<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for MapConduit<A, B> where
    A: Send + Sync,
    B: Send + Sync

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T