[−][src]Trait amadeus_core::par_pipe::ParallelPipe
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + Send + 'static,
Self: Sized,
F: FnMut(&Self::Item) + Clone + Send + 'static,
Self: Sized,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + Send + 'static,
Self: Sized,
F: FnMut(&mut Self::Item) + Clone + Send + 'static,
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
Self: Sized,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
Self: Sized,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
B: Stream,
Self: Sized,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
B: Stream,
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool + Clone + Send + 'static,
Self: Sized,
F: FnMut(&Self::Item) -> bool + Clone + Send + 'static,
Self: Sized,
fn cloned<'a, T>(self) -> Cloned<Self, T, Source> where
T: Clone + 'a,
Source: 'a,
Self: ParallelPipe<&'a Source, Item = &'a T> + Sized,
T: Clone + 'a,
Source: 'a,
Self: ParallelPipe<&'a Source, Item = &'a T> + Sized,
fn pipe<S>(self, sink: S) -> Pipe<Self, S> where
S: ParallelSink<Self::Item>,
Self: Sized,
S: ParallelSink<Self::Item>,
Self: Sized,
fn fork<A, B, RefAItem>(
self,
sink: A,
sink_ref: B
) -> Fork<Self, A, B, &'static Self::Item> where
A: ParallelSink<Self::Item>,
B: for<'a> ParallelSink<&'a Self::Item>,
Self: Sized,
self,
sink: A,
sink_ref: B
) -> Fork<Self, A, B, &'static Self::Item> where
A: ParallelSink<Self::Item>,
B: for<'a> ParallelSink<&'a Self::Item>,
Self: Sized,
fn for_each<F>(self, f: F) -> ForEach<Self, F> where
F: FnMut(Self::Item) + Clone + Send + 'static,
Self: Sized,
F: FnMut(Self::Item) + Clone + Send + 'static,
Self: Sized,
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B> where
ID: FnMut() -> B + Clone + Send + 'static,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static,
B: Send + 'static,
Self: Sized,
ID: FnMut() -> B + Clone + Send + 'static,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static,
B: Send + 'static,
Self: Sized,
fn group_by<S, A, B>(self, sink: S) -> GroupBy<Self, S> where
A: Eq + Hash + Send + 'static,
S: ParallelSink<B>,
<S::Pipe as ParallelPipe<B>>::Task: Clone + Send + 'static,
S::ReduceA: 'static,
S::ReduceC: Clone,
S::Output: Send + 'static,
Self: ParallelPipe<Source, Item = (A, B)> + Sized,
A: Eq + Hash + Send + 'static,
S: ParallelSink<B>,
<S::Pipe as ParallelPipe<B>>::Task: Clone + Send + 'static,
S::ReduceA: 'static,
S::ReduceC: Clone,
S::Output: Send + 'static,
Self: ParallelPipe<Source, Item = (A, B)> + Sized,
fn histogram(self) -> Histogram<Self> where
Self::Item: Hash + Ord + Send + 'static,
Self: Sized,
Self::Item: Hash + Ord + Send + 'static,
Self: Sized,
fn count(self) -> Count<Self> where
Self: Sized,
Self: Sized,
fn sum<B>(self) -> Sum<Self, B> where
B: Sum<Self::Item> + Sum<B> + Send + 'static,
Self: Sized,
B: Sum<Self::Item> + Sum<B> + Send + 'static,
Self: Sized,
fn combine<F>(self, f: F) -> Combine<Self, F> where
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static,
Self::Item: Send + 'static,
Self: Sized,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static,
Self::Item: Send + 'static,
Self: Sized,
fn max(self) -> Max<Self> where
Self::Item: Ord + Send + 'static,
Self: Sized,
Self::Item: Ord + Send + 'static,
Self: Sized,
fn max_by<F>(self, f: F) -> MaxBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static,
Self::Item: Send + 'static,
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static,
Self::Item: Send + 'static,
Self: Sized,
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F> where
F: FnMut(&Self::Item) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Item: Send + 'static,
Self: Sized,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Item: Send + 'static,
Self: Sized,
fn min(self) -> Min<Self> where
Self::Item: Ord + Send + 'static,
Self: Sized,
Self::Item: Ord + Send + 'static,
Self: Sized,
fn min_by<F>(self, f: F) -> MinBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static,
Self::Item: Send + 'static,
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static,
Self::Item: Send + 'static,
Self: Sized,
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F> where
F: FnMut(&Self::Item) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Item: Send + 'static,
Self: Sized,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Item: Send + 'static,
Self: Sized,
fn most_frequent(
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash + Eq + Clone + Send + 'static,
Self: Sized,
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash + Eq + Clone + Send + 'static,
Self: Sized,
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: ParallelPipe<Source, Item = (A, B)> + Sized,
A: Hash + Eq + Clone + Send + 'static,
B: Hash + 'static,
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: ParallelPipe<Source, Item = (A, B)> + Sized,
A: Hash + Eq + Clone + Send + 'static,
B: Hash + 'static,
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self> where
Self::Item: Send + 'static,
Self: Sized,
Self::Item: Send + 'static,
Self: Sized,
fn all<F>(self, f: F) -> All<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + Send + 'static,
Self: Sized,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static,
Self: Sized,
fn any<F>(self, f: F) -> Any<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + Send + 'static,
Self: Sized,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static,
Self: Sized,
fn collect<B>(self) -> Collect<Self, B> where
B: FromParallelStream<Self::Item>,
Self: Sized,
B: FromParallelStream<Self::Item>,
Self: Sized,
Implementations on Foreign Types
impl<Source> ParallelPipe<Source> for () where
Source: ,
[src]
Source: ,
impl<Source, I0: ParallelPipe<Source>> ParallelPipe<Source> for (I0,) where
Source: ,
[src]
Source: ,
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum2<I0::Item, I1::Item>
type Task = (I0::Task, I1::Task)
fn task(&self) -> Self::Task
[src]
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>, I2: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1, I2) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum3<I0::Item, I1::Item, I2::Item>
type Task = (I0::Task, I1::Task, I2::Task)
fn task(&self) -> Self::Task
[src]
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>, I2: ParallelPipe<Source>, I3: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1, I2, I3) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum4<I0::Item, I1::Item, I2::Item, I3::Item>
type Task = (I0::Task, I1::Task, I2::Task, I3::Task)
fn task(&self) -> Self::Task
[src]
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>, I2: ParallelPipe<Source>, I3: ParallelPipe<Source>, I4: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1, I2, I3, I4) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum5<I0::Item, I1::Item, I2::Item, I3::Item, I4::Item>
type Task = (I0::Task, I1::Task, I2::Task, I3::Task, I4::Task)
fn task(&self) -> Self::Task
[src]
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>, I2: ParallelPipe<Source>, I3: ParallelPipe<Source>, I4: ParallelPipe<Source>, I5: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1, I2, I3, I4, I5) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum6<I0::Item, I1::Item, I2::Item, I3::Item, I4::Item, I5::Item>
type Task = (I0::Task, I1::Task, I2::Task, I3::Task, I4::Task, I5::Task)
fn task(&self) -> Self::Task
[src]
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>, I2: ParallelPipe<Source>, I3: ParallelPipe<Source>, I4: ParallelPipe<Source>, I5: ParallelPipe<Source>, I6: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1, I2, I3, I4, I5, I6) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum7<I0::Item, I1::Item, I2::Item, I3::Item, I4::Item, I5::Item, I6::Item>
type Task = (I0::Task, I1::Task, I2::Task, I3::Task, I4::Task, I5::Task, I6::Task)
fn task(&self) -> Self::Task
[src]
impl<Source, I0: ParallelPipe<Source>, I1: ParallelPipe<Source>, I2: ParallelPipe<Source>, I3: ParallelPipe<Source>, I4: ParallelPipe<Source>, I5: ParallelPipe<Source>, I6: ParallelPipe<Source>, I7: ParallelPipe<Source>> ParallelPipe<Source> for (I0, I1, I2, I3, I4, I5, I6, I7) where
Source: Copy,
[src]
Source: Copy,
type Item = Sum8<I0::Item, I1::Item, I2::Item, I3::Item, I4::Item, I5::Item, I6::Item, I7::Item>
type Task = (I0::Task, I1::Task, I2::Task, I3::Task, I4::Task, I5::Task, I6::Task, I7::Task)
fn task(&self) -> Self::Task
[src]
impl<A: ParallelPipe<Source>, B: ParallelPipe<Source, Item = A::Item>, Source> ParallelPipe<Source> for Sum2<A, B>
[src]
Loading content...
Implementors
impl<'a, I, Source, T: 'a> ParallelPipe<&'a Source> for Cloned<I, T, Source> where
I: ParallelPipe<&'a Source, Item = &'a T>,
T: Clone,
[src]
I: ParallelPipe<&'a Source, Item = &'a T>,
T: Clone,
impl<A, B, C, Source, RefAItem> ParallelPipe<Source> for Fork<A, B, C, RefAItem> where
A: ParallelPipe<Source>,
B: ParallelPipe<A::Item>,
C: ParallelPipe<RefAItem>,
RefAItem: 'static,
[src]
A: ParallelPipe<Source>,
B: ParallelPipe<A::Item>,
C: ParallelPipe<RefAItem>,
RefAItem: 'static,
type Item = Sum2<B::Item, C::Item>
type Task = JoinTask<A::Task, B::Task, C::Task, RefAItem>
fn task(&self) -> Self::Task
[src]
impl<A: ParallelPipe<Source>, B: ParallelPipe<A::Item>, Source> ParallelPipe<Source> for Pipe<A, B>
[src]
impl<I: ParallelPipe<Source>, F, R, Source> ParallelPipe<Source> for Map<I, F> where
F: FnMut<(I::Item,), Output = R> + Clone + Send + 'static,
[src]
F: FnMut<(I::Item,), Output = R> + Clone + Send + 'static,
impl<I: ParallelPipe<Source>, F, R: Stream, Source> ParallelPipe<Source> for FlatMap<I, F> where
F: FnMut<(I::Item,), Output = R> + Clone + Send + 'static,
[src]
F: FnMut<(I::Item,), Output = R> + Clone + Send + 'static,
impl<I: ParallelPipe<Source>, F, Source> ParallelPipe<Source> for Filter<I, F> where
F: for<'a> FnMut<(&'a I::Item,), Output = bool> + Clone + Send + 'static,
[src]
F: for<'a> FnMut<(&'a I::Item,), Output = bool> + Clone + Send + 'static,
impl<I: ParallelPipe<Source>, F, Source> ParallelPipe<Source> for Inspect<I, F> where
F: for<'a> FnMut<(&'a I::Item,), Output = ()> + Clone + Send + 'static,
[src]
F: for<'a> FnMut<(&'a I::Item,), Output = ()> + Clone + Send + 'static,
impl<I: ParallelPipe<Source>, F, Source> ParallelPipe<Source> for Update<I, F> where
F: for<'a> FnMut<(&'a mut I::Item,), Output = ()> + Clone + Send + 'static,
[src]
F: for<'a> FnMut<(&'a mut I::Item,), Output = ()> + Clone + Send + 'static,