Trait pusherator::Pusherator

source ·
pub trait Pusherator: Sized {
    type Item;

    // Required method
    fn give(&mut self, item: Self::Item);
}

Required Associated Types§

Required Methods§

source

fn give(&mut self, item: Self::Item)

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Func, In> Pusherator for ForEach<Func, In>
where Func: FnMut(In),

source§

type Item = In

source§

impl<Func, Nexts, Item> Pusherator for Demux<Func, Nexts, Item>
where Func: FnMut(Item, &mut Nexts),

source§

type Item = Item

source§

impl<In> Pusherator for Null<In>

source§

type Item = In

source§

impl<Next1, Next2> Pusherator for Switch<Next1, Next2>
where Next1: Pusherator, Next2: Pusherator,

source§

type Item = Either<<Next1 as Pusherator>::Item, <Next2 as Pusherator>::Item>

source§

impl<Next1, Next2> Pusherator for Tee<Next1, Next2>
where Next1: Pusherator, Next2: Pusherator<Item = Next1::Item>, Next1::Item: Clone,

source§

type Item = <Next1 as Pusherator>::Item

source§

impl<Next1, Next2> Pusherator for Unzip<Next1, Next2>
where Next1: Pusherator, Next2: Pusherator,

source§

type Item = (<Next1 as Pusherator>::Item, <Next2 as Pusherator>::Item)

source§

impl<Next1, Next2, Func> Pusherator for Partition<Next1, Next2, Func>
where Next1: Pusherator, Next2: Pusherator<Item = Next1::Item>, Func: FnMut(&Next1::Item) -> bool,

source§

type Item = <Next1 as Pusherator>::Item

source§

impl<Next, Func> Pusherator for Filter<Next, Func>
where Next: Pusherator, Func: FnMut(&Next::Item) -> bool,

source§

type Item = <Next as Pusherator>::Item

source§

impl<Next, Func> Pusherator for Inspect<Next, Func>
where Next: Pusherator, Func: FnMut(&Next::Item),

source§

type Item = <Next as Pusherator>::Item

source§

impl<Next, Func, In> Pusherator for FilterMap<Next, Func, In>
where Next: Pusherator, Func: FnMut(In) -> Option<Next::Item>,

source§

type Item = In

source§

impl<Next, Func, In> Pusherator for Map<Next, Func, In>
where Next: Pusherator, Func: FnMut(In) -> Next::Item,

source§

type Item = In

source§

impl<Next, In> Pusherator for Flatten<Next, In>
where Next: Pusherator<Item = In::Item>, In: IntoIterator,

source§

type Item = In