[−][src]Trait amadeus::ParallelStream
Associated Types
type Item
type Task: StreamTask + Send
Required methods
Loading content...Provided methods
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + Send + 'static,
F: FnMut(&Self::Item) + Clone + Send + 'static,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + Send + 'static,
F: FnMut(&mut Self::Item) + Clone + Send + 'static,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
B: Stream,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
B: Stream,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
fn filter<F, Fut>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> Fut + Clone + Send + 'static,
Fut: Future<Output = bool>,
F: FnMut(&Self::Item) -> Fut + Clone + Send + 'static,
Fut: Future<Output = bool>,
#[must_use]fn reduce<'life0, 'async_trait, P, B, R1F, R1, R3>(
self,
pool: &'life0 P,
reduce_a_factory: R1F,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
R1: ReducerSend<Item = Self::Item> + Send + 'static + 'async_trait,
R1F: Factory<Item = R1> + 'async_trait,
R3: Reducer<Item = <R1 as ReducerSend>::Output, Output = B> + 'async_trait,
Self: 'async_trait,
Self::Task: 'static,
self,
pool: &'life0 P,
reduce_a_factory: R1F,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
R1: ReducerSend<Item = Self::Item> + Send + 'static + 'async_trait,
R1F: Factory<Item = R1> + 'async_trait,
R3: Reducer<Item = <R1 as ReducerSend>::Output, Output = B> + 'async_trait,
Self: 'async_trait,
Self::Task: 'static,
#[must_use]fn pipe<'life0, 'async_trait, P, ParSink, A>(
self,
pool: &'life0 P,
sink: ParSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
P: ThreadPool + 'async_trait,
ParSink: ParallelSink<Self::Item, Output = A> + 'async_trait,
Self: 'async_trait,
<<ParSink as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSink as ParallelSink<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
sink: ParSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
P: ThreadPool + 'async_trait,
ParSink: ParallelSink<Self::Item, Output = A> + 'async_trait,
Self: 'async_trait,
<<ParSink as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSink as ParallelSink<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
#[must_use]fn fork<'life0, 'async_trait, P, ParSinkA, ParSinkB, A, B>(
self,
pool: &'life0 P,
sink_a: ParSinkA,
sink_b: ParSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
ParSinkA: ParallelSink<Self::Item, Output = A> + 'async_trait,
ParSinkB: for<'a> ParallelSink<&'a Self::Item, Output = B> + 'static + 'async_trait,
Self: 'async_trait,
<<ParSinkA as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSinkA as ParallelSink<Self::Item>>::ReduceA: 'static,
<ParSinkB as ParallelSink<&'static Self::Item>>::ReduceA: 'static,
<<ParSinkB as ParallelSink<&'static Self::Item>>::Pipe as ParallelPipe<&'static Self::Item>>::Task: 'static,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
sink_a: ParSinkA,
sink_b: ParSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
ParSinkA: ParallelSink<Self::Item, Output = A> + 'async_trait,
ParSinkB: for<'a> ParallelSink<&'a Self::Item, Output = B> + 'static + 'async_trait,
Self: 'async_trait,
<<ParSinkA as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSinkA as ParallelSink<Self::Item>>::ReduceA: 'static,
<ParSinkB as ParallelSink<&'static Self::Item>>::ReduceA: 'static,
<<ParSinkB as ParallelSink<&'static Self::Item>>::Pipe as ParallelPipe<&'static Self::Item>>::Task: 'static,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn for_each<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn fold<'life0, 'async_trait, P, ID, F, B>(
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: Send + 'static + 'async_trait,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static + 'async_trait,
ID: FnMut() -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: Send + 'static + 'async_trait,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static + 'async_trait,
ID: FnMut() -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn group_by<'life0, 'async_trait, P, A, B, ID, F, C>(
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = HashMap<A, C, RandomState>> + 'async_trait>> where
'life0: 'async_trait,
A: Eq + Hash + Send + 'static + 'async_trait,
B: 'static + 'async_trait,
C: Send + 'static + 'async_trait,
F: FnMut(C, Either<B, C>) -> C + Clone + Send + 'static + 'async_trait,
ID: FnMut() -> C + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = HashMap<A, C, RandomState>> + 'async_trait>> where
'life0: 'async_trait,
A: Eq + Hash + Send + 'static + 'async_trait,
B: 'static + 'async_trait,
C: Send + 'static + 'async_trait,
F: FnMut(C, Either<B, C>) -> C + Clone + Send + 'static + 'async_trait,
ID: FnMut() -> C + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn histogram<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn count<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn sum<'life0, 'async_trait, P, S>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
S: Sum<Self::Item> + Sum<S> + Send + 'static + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
S: Sum<Self::Item> + Sum<S> + Send + 'static + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn combine<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn max<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn max_by<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn max_by_key<'life0, 'async_trait, P, F, B>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn min<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn min_by<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn min_by_key<'life0, 'async_trait, P, F, B>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn most_frequent<'life0, 'async_trait, P>(
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn most_distinct<'life0, 'async_trait, P, A, B>(
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Pin<Box<dyn Future<Output = Top<A, HyperLogLogMagnitude<B>>> + 'async_trait>> where
'life0: 'async_trait,
A: Hash + Eq + Clone + Send + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
Self::Task: 'static,
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Pin<Box<dyn Future<Output = Top<A, HyperLogLogMagnitude<B>>> + 'async_trait>> where
'life0: 'async_trait,
A: Hash + Eq + Clone + Send + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
Self::Task: 'static,
#[must_use]fn sample_unstable<'life0, 'async_trait, P>(
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn all<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn any<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn collect<'life0, 'async_trait, P, B>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: FromParallelStream<Self::Item> + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
<B as FromParallelStream<Self::Item>>::ReduceA: Send,
<B as FromParallelStream<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: FromParallelStream<Self::Item> + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
<B as FromParallelStream<Self::Item>>::ReduceA: Send,
<B as FromParallelStream<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
Implementations on Foreign Types
impl<S> ParallelStream for DistParStream<S> where
S: DistributedStream,
[src]
S: DistributedStream,
type Item = <S as DistributedStream>::Item
type Task = <S as DistributedStream>::Task
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<DistParStream<S> as ParallelStream>::Task>
[src]
impl<A, B> ParallelStream for Sum2<A, B> where
A: ParallelStream,
B: ParallelStream<Item = <A as ParallelStream>::Item>,
[src]
A: ParallelStream,
B: ParallelStream<Item = <A as ParallelStream>::Item>,
type Item = <A as ParallelStream>::Item
type Task = Sum2<<A as ParallelStream>::Task, <B as ParallelStream>::Task>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Sum2<A, B> as ParallelStream>::Task>
[src]
Implementors
impl ParallelStream for Never
[src]
type Item = Never
type Task = Never
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Never as ParallelStream>::Task>
[src]
impl<A, B> ParallelStream for Chain<A, B> where
A: ParallelStream,
B: ParallelStream<Item = <A as ParallelStream>::Item>,
[src]
A: ParallelStream,
B: ParallelStream<Item = <A as ParallelStream>::Item>,
type Item = <A as ParallelStream>::Item
type Task = ChainTask<<A as ParallelStream>::Task, <B as ParallelStream>::Task>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Chain<A, B> as ParallelStream>::Task>
[src]
impl<I> ParallelStream for IterParStream<I> where
I: Iterator,
<I as Iterator>::Item: Send,
<I as Iterator>::Item: 'static,
[src]
I: Iterator,
<I as Iterator>::Item: Send,
<I as Iterator>::Item: 'static,
type Item = <I as Iterator>::Item
type Task = IterStreamTask<<I as Iterator>::Item>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<IterParStream<I> as ParallelStream>::Task>
[src]
impl<I, F> ParallelStream for Inspect<I, F> where
F: FnMut(&<I as ParallelStream>::Item) + Clone + Send + 'static,
I: ParallelStream,
[src]
F: FnMut(&<I as ParallelStream>::Item) + Clone + Send + 'static,
I: ParallelStream,
type Item = <I as ParallelStream>::Item
type Task = InspectTask<<I as ParallelStream>::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Inspect<I, F> as ParallelStream>::Task>
[src]
impl<I, F> ParallelStream for Update<I, F> where
F: FnMut(&mut <I as ParallelStream>::Item) + Clone + Send + 'static,
I: ParallelStream,
[src]
F: FnMut(&mut <I as ParallelStream>::Item) + Clone + Send + 'static,
I: ParallelStream,
type Item = <I as ParallelStream>::Item
type Task = UpdateTask<<I as ParallelStream>::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Update<I, F> as ParallelStream>::Task>
[src]
impl<I, F, Fut> ParallelStream for Filter<I, F> where
F: FnMut(&<I as ParallelStream>::Item) -> Fut + Clone + Send + 'static,
Fut: Future<Output = bool>,
I: ParallelStream,
[src]
F: FnMut(&<I as ParallelStream>::Item) -> Fut + Clone + Send + 'static,
Fut: Future<Output = bool>,
I: ParallelStream,
type Item = <I as ParallelStream>::Item
type Task = FilterTask<<I as ParallelStream>::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Filter<I, F> as ParallelStream>::Task>
[src]
impl<I, F, R> ParallelStream for FlatMap<I, F> where
F: FnMut(<I as ParallelStream>::Item) -> R + Clone + Send + 'static,
I: ParallelStream,
R: Stream,
[src]
F: FnMut(<I as ParallelStream>::Item) -> R + Clone + Send + 'static,
I: ParallelStream,
R: Stream,
type Item = <R as Stream>::Item
type Task = FlatMapTask<<I as ParallelStream>::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<FlatMap<I, F> as ParallelStream>::Task>
[src]
impl<I, F, R> ParallelStream for Map<I, F> where
F: FnMut(<I as ParallelStream>::Item) -> R + Clone + Send + 'static,
I: ParallelStream,
[src]
F: FnMut(<I as ParallelStream>::Item) -> R + Clone + Send + 'static,
I: ParallelStream,
type Item = R
type Task = MapTask<<I as ParallelStream>::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Map<I, F> as ParallelStream>::Task>
[src]
impl<I, T, E, U> ParallelStream for IntoStream<I, U> where
I: ParallelStream<Item = Result<T, E>>,
T: Into<U>,
U: 'static,
[src]
I: ParallelStream<Item = Result<T, E>>,
T: Into<U>,
U: 'static,