Struct amadeus::par_stream::FilterMapSync [−][src]
#[must_use]pub struct FilterMapSync<P, F> { /* fields omitted */ }
Implementations
impl<P, F> FilterMapSync<P, F>
[src]
impl<P, F> FilterMapSync<P, F>
[src]pub fn new(pipe: P, f: F) -> FilterMapSync<P, F>
[src]
pub fn new(pipe: P, f: F) -> FilterMapSync<P, F>
[src]Constructs a new FilterMapSync
.
Trait Implementations
impl<P, F, R, Input> DistributedPipe<Input> for FilterMapSync<P, F> where
F: FnMut<(<P as DistributedPipe<Input>>::Output,), Output = Option<R>> + Clone + ProcessSend + 'static,
P: DistributedPipe<Input>,
[src]
impl<P, F, R, Input> DistributedPipe<Input> for FilterMapSync<P, F> where
F: FnMut<(<P as DistributedPipe<Input>>::Output,), Output = Option<R>> + Clone + ProcessSend + 'static,
P: DistributedPipe<Input>,
[src]type Output = R
type Task = FilterMapSyncTask<<P as DistributedPipe<Input>>::Task, F>
pub fn task(&self) -> <FilterMapSync<P, F> as DistributedPipe<Input>>::Task
[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut<(&Self::Output,), Output = ()> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(&Self::Output,), Output = ()> + Clone + ProcessSend + 'static,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut<(&mut Self::Output,), Output = ()> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(&mut Self::Output,), Output = ()> + Clone + ProcessSend + 'static,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut<(Self::Output,), Output = B> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(Self::Output,), Output = B> + Clone + ProcessSend + 'static,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut<(Self::Output,), Output = B> + Clone + ProcessSend + 'static,
B: Stream,
[src]
F: FnMut<(Self::Output,), Output = B> + Clone + ProcessSend + 'static,
B: Stream,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut<(&Self::Output,), Output = bool> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(&Self::Output,), Output = bool> + Clone + ProcessSend + 'static,
fn cloned<'a, T>(self) -> Cloned<Self, T, Input> where
Self: DistributedPipe<&'a Input, Output = &'a T>,
Input: 'a,
T: Clone + 'a,
[src]
Self: DistributedPipe<&'a Input, Output = &'a T>,
Input: 'a,
T: Clone + 'a,
fn left_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: DistributedPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: DistributedPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
fn inner_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: DistributedPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: DistributedPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
fn pipe<S>(self, sink: S) -> Pipe<Self, S> where
S: DistributedSink<Self::Output>,
[src]
S: DistributedSink<Self::Output>,
fn fork<A, B, RefAItem>(
self,
sink: A,
sink_ref: B
) -> Fork<Self, A, B, &'static Self::Output> where
A: DistributedSink<Self::Output>,
B: for<'a> DistributedSink<&'a Self::Output>,
[src]
self,
sink: A,
sink_ref: B
) -> Fork<Self, A, B, &'static Self::Output> where
A: DistributedSink<Self::Output>,
B: for<'a> DistributedSink<&'a Self::Output>,
fn for_each<F>(self, f: F) -> ForEach<Self, F> where
F: FnMut<(Self::Output,), Output = ()> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(Self::Output,), Output = ()> + Clone + ProcessSend + 'static,
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B> where
F: FnMut<(B, Either<Self::Output, B>), Output = B> + Clone + ProcessSend + 'static,
B: ProcessSend + 'static,
ID: FnMut<(), Output = B> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(B, Either<Self::Output, B>), Output = B> + Clone + ProcessSend + 'static,
B: ProcessSend + 'static,
ID: FnMut<(), Output = B> + Clone + ProcessSend + 'static,
fn group_by<S, A, B>(self, sink: S) -> GroupBy<Self, S> where
Self: DistributedPipe<Input, Output = (A, B)>,
S: DistributedSink<B>,
A: Eq + Hash + ProcessSend + 'static,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: Clone,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: ProcessSend,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: 'static,
<S as DistributedSink<B>>::ReduceA: 'static,
<S as DistributedSink<B>>::ReduceC: Clone,
<S as DistributedSink<B>>::Done: ProcessSend,
<S as DistributedSink<B>>::Done: 'static,
[src]
Self: DistributedPipe<Input, Output = (A, B)>,
S: DistributedSink<B>,
A: Eq + Hash + ProcessSend + 'static,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: Clone,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: ProcessSend,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: 'static,
<S as DistributedSink<B>>::ReduceA: 'static,
<S as DistributedSink<B>>::ReduceC: Clone,
<S as DistributedSink<B>>::Done: ProcessSend,
<S as DistributedSink<B>>::Done: 'static,
fn histogram(self) -> Histogram<Self> where
Self::Output: Hash,
Self::Output: Ord,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
Self::Output: Hash,
Self::Output: Ord,
Self::Output: ProcessSend,
Self::Output: 'static,
fn sort_n_by<F>(self, n: usize, cmp: F) -> Sort<Self, F> where
F: Fn<(&Self::Output, &Self::Output), Output = Ordering> + Clone + ProcessSend + 'static,
Self::Output: Clone,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
F: Fn<(&Self::Output, &Self::Output), Output = Ordering> + Clone + ProcessSend + 'static,
Self::Output: Clone,
Self::Output: ProcessSend,
Self::Output: 'static,
fn count(self) -> Count<Self>
[src]
fn sum<B>(self) -> Sum<Self, B> where
B: Sum<Self::Output> + Sum<B> + ProcessSend + 'static,
[src]
B: Sum<Self::Output> + Sum<B> + ProcessSend + 'static,
fn mean(self) -> Mean<Self> where
Self: DistributedPipe<Input, Output = f64>,
[src]
Self: DistributedPipe<Input, Output = f64>,
fn stddev(self) -> StdDev<Self> where
Self: DistributedPipe<Input, Output = f64>,
[src]
Self: DistributedPipe<Input, Output = f64>,
fn combine<F>(self, f: F) -> Combine<Self, F> where
F: FnMut<(Self::Output, Self::Output), Output = Self::Output> + Clone + ProcessSend + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
F: FnMut<(Self::Output, Self::Output), Output = Self::Output> + Clone + ProcessSend + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
fn max(self) -> Max<Self> where
Self::Output: Ord,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
Self::Output: Ord,
Self::Output: ProcessSend,
Self::Output: 'static,
fn max_by<F>(self, f: F) -> MaxBy<Self, F> where
F: FnMut<(&Self::Output, &Self::Output), Output = Ordering> + Clone + ProcessSend + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
F: FnMut<(&Self::Output, &Self::Output), Output = Ordering> + Clone + ProcessSend + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F> where
F: FnMut<(&Self::Output,), Output = B> + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
F: FnMut<(&Self::Output,), Output = B> + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
fn min(self) -> Min<Self> where
Self::Output: Ord,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
Self::Output: Ord,
Self::Output: ProcessSend,
Self::Output: 'static,
fn min_by<F>(self, f: F) -> MinBy<Self, F> where
F: FnMut<(&Self::Output, &Self::Output), Output = Ordering> + Clone + ProcessSend + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
F: FnMut<(&Self::Output, &Self::Output), Output = Ordering> + Clone + ProcessSend + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F> where
F: FnMut<(&Self::Output,), Output = B> + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
F: FnMut<(&Self::Output,), Output = B> + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Output: ProcessSend,
Self::Output: 'static,
fn most_frequent(
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Output: Hash,
Self::Output: Eq,
Self::Output: Clone,
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Output: Hash,
Self::Output: Eq,
Self::Output: Clone,
Self::Output: ProcessSend,
Self::Output: 'static,
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: DistributedPipe<Input, Output = (A, B)>,
A: Hash + Eq + Clone + ProcessSend + 'static,
B: Hash + 'static,
[src]
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: DistributedPipe<Input, Output = (A, B)>,
A: Hash + Eq + Clone + ProcessSend + 'static,
B: Hash + 'static,
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self> where
Self::Output: ProcessSend,
Self::Output: 'static,
[src]
Self::Output: ProcessSend,
Self::Output: 'static,
fn all<F>(self, f: F) -> All<Self, F> where
F: FnMut<(Self::Output,), Output = bool> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(Self::Output,), Output = bool> + Clone + ProcessSend + 'static,
fn any<F>(self, f: F) -> Any<Self, F> where
F: FnMut<(Self::Output,), Output = bool> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(Self::Output,), Output = bool> + Clone + ProcessSend + 'static,
fn collect<B>(self) -> Collect<Self, B> where
B: FromDistributedStream<Self::Output>,
[src]
B: FromDistributedStream<Self::Output>,
impl<P, F, R> DistributedStream for FilterMapSync<P, F> where
F: FnMut<(<P as DistributedStream>::Item,), Output = Option<R>> + Clone + ProcessSend + 'static,
P: DistributedStream,
[src]
impl<P, F, R> DistributedStream for FilterMapSync<P, F> where
F: FnMut<(<P as DistributedStream>::Item,), Output = Option<R>> + Clone + ProcessSend + 'static,
P: DistributedStream,
[src]type Item = R
type Task = FilterMapSyncTask<<P as DistributedStream>::Task, F>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn next_task(
self: Pin<&mut FilterMapSync<P, F>>,
cx: &mut Context<'_>
) -> Poll<Option<<FilterMapSync<P, F> as DistributedStream>::Task>>
[src]
self: Pin<&mut FilterMapSync<P, F>>,
cx: &mut Context<'_>
) -> Poll<Option<<FilterMapSync<P, F> as DistributedStream>::Task>>
#[must_use]fn reduce<'life0, 'async_trait, P, B, R1, R2, R3>(
self,
pool: &'life0 P,
reduce_a: R1,
reduce_b: R2,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: 'async_trait,
P: ProcessPool + 'async_trait,
R1: ReducerSend<Self::Item> + Clone + ProcessSend + 'static + 'async_trait,
R2: ReducerProcessSend<<R1 as ReducerSend<Self::Item>>::Done> + Clone + ProcessSend + 'static + 'async_trait,
R3: Reducer<<R2 as ReducerProcessSend<<R1 as ReducerSend<Self::Item>>::Done>>::Done, Done = B> + 'async_trait,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
reduce_a: R1,
reduce_b: R2,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: 'async_trait,
P: ProcessPool + 'async_trait,
R1: ReducerSend<Self::Item> + Clone + ProcessSend + 'static + 'async_trait,
R2: ReducerProcessSend<<R1 as ReducerSend<Self::Item>>::Done> + Clone + ProcessSend + 'static + 'async_trait,
R3: Reducer<<R2 as ReducerProcessSend<<R1 as ReducerSend<Self::Item>>::Done>>::Done, Done = B> + 'async_trait,
Self::Task: 'static,
#[must_use]fn pipe<'life0, 'async_trait, P, DistSink, A>(
self,
pool: &'life0 P,
sink: DistSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
DistSink: DistributedSink<Self::Item, Done = A> + 'async_trait,
A: 'async_trait,
P: ProcessPool + 'async_trait,
<<DistSink as DistributedSink<Self::Item>>::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
<DistSink as DistributedSink<Self::Item>>::ReduceA: 'static,
<DistSink as DistributedSink<Self::Item>>::ReduceB: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink: DistSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
DistSink: DistributedSink<Self::Item, Done = A> + 'async_trait,
A: 'async_trait,
P: ProcessPool + 'async_trait,
<<DistSink as DistributedSink<Self::Item>>::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
<DistSink as DistributedSink<Self::Item>>::ReduceA: 'static,
<DistSink as DistributedSink<Self::Item>>::ReduceB: 'static,
Self::Task: 'static,
#[must_use]fn fork<'life0, 'async_trait, P, DistSinkA, DistSinkB, A, B>(
self,
pool: &'life0 P,
sink_a: DistSinkA,
sink_b: DistSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ProcessPool + 'async_trait,
DistSinkA: DistributedSink<Self::Item, Done = A> + 'async_trait,
DistSinkB: for<'a> DistributedSink<&'a Self::Item, Done = B> + 'static + 'async_trait,
<<DistSinkA as DistributedSink<Self::Item>>::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
<DistSinkA as DistributedSink<Self::Item>>::ReduceA: 'static,
<DistSinkA as DistributedSink<Self::Item>>::ReduceB: 'static,
<DistSinkB as DistributedSink<&'static Self::Item>>::ReduceA: 'static,
<DistSinkB as DistributedSink<&'static Self::Item>>::ReduceB: 'static,
<<DistSinkB as DistributedSink<&'static Self::Item>>::Pipe as DistributedPipe<&'static Self::Item>>::Task: 'static,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink_a: DistSinkA,
sink_b: DistSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ProcessPool + 'async_trait,
DistSinkA: DistributedSink<Self::Item, Done = A> + 'async_trait,
DistSinkB: for<'a> DistributedSink<&'a Self::Item, Done = B> + 'static + 'async_trait,
<<DistSinkA as DistributedSink<Self::Item>>::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
<DistSinkA as DistributedSink<Self::Item>>::ReduceA: 'static,
<DistSinkA as DistributedSink<Self::Item>>::ReduceB: 'static,
<DistSinkB as DistributedSink<&'static Self::Item>>::ReduceA: 'static,
<DistSinkB as DistributedSink<&'static Self::Item>>::ReduceB: 'static,
<<DistSinkB as DistributedSink<&'static Self::Item>>::Pipe as DistributedPipe<&'static Self::Item>>::Task: 'static,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn group_by<'life0, 'async_trait, P, S, A, B>(
self,
pool: &'life0 P,
sink: S
) -> Pin<Box<dyn Future<Output = IndexMap<A, <S as DistributedSink<B>>::Done, RandomState>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = (A, B)> + 'async_trait,
S: DistributedSink<B> + 'async_trait,
A: Eq + Hash + ProcessSend + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ProcessPool + 'async_trait,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: Clone,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: ProcessSend,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: 'static,
<S as DistributedSink<B>>::ReduceA: 'static,
<S as DistributedSink<B>>::ReduceB: 'static,
<S as DistributedSink<B>>::ReduceC: Clone,
<S as DistributedSink<B>>::Done: ProcessSend,
<S as DistributedSink<B>>::Done: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink: S
) -> Pin<Box<dyn Future<Output = IndexMap<A, <S as DistributedSink<B>>::Done, RandomState>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = (A, B)> + 'async_trait,
S: DistributedSink<B> + 'async_trait,
A: Eq + Hash + ProcessSend + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ProcessPool + 'async_trait,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: Clone,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: ProcessSend,
<<S as DistributedSink<B>>::Pipe as DistributedPipe<B>>::Task: 'static,
<S as DistributedSink<B>>::ReduceA: 'static,
<S as DistributedSink<B>>::ReduceB: 'static,
<S as DistributedSink<B>>::ReduceC: Clone,
<S as DistributedSink<B>>::Done: ProcessSend,
<S as DistributedSink<B>>::Done: '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: FromDistributedStream<Self::Item> + 'async_trait,
P: ProcessPool + 'async_trait,
<B as FromDistributedStream<Self::Item>>::ReduceA: ProcessSend,
<B as FromDistributedStream<Self::Item>>::ReduceA: 'static,
<B as FromDistributedStream<Self::Item>>::ReduceB: ProcessSend,
<B as FromDistributedStream<Self::Item>>::ReduceB: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: FromDistributedStream<Self::Item> + 'async_trait,
P: ProcessPool + 'async_trait,
<B as FromDistributedStream<Self::Item>>::ReduceA: ProcessSend,
<B as FromDistributedStream<Self::Item>>::ReduceA: 'static,
<B as FromDistributedStream<Self::Item>>::ReduceB: ProcessSend,
<B as FromDistributedStream<Self::Item>>::ReduceB: 'static,
Self::Task: 'static,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut<(&Self::Item,), Output = ()> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(&Self::Item,), Output = ()> + Clone + ProcessSend + 'static,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut<(&mut Self::Item,), Output = ()> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(&mut Self::Item,), Output = ()> + Clone + ProcessSend + 'static,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut<(Self::Item,), Output = B> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(Self::Item,), Output = B> + Clone + ProcessSend + 'static,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut<(Self::Item,), Output = B> + Clone + ProcessSend + 'static,
B: Stream,
[src]
F: FnMut<(Self::Item,), Output = B> + Clone + ProcessSend + 'static,
B: Stream,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut<(&Self::Item,), Output = bool> + Clone + ProcessSend + 'static,
[src]
F: FnMut<(&Self::Item,), Output = bool> + Clone + ProcessSend + 'static,
fn left_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: DistributedStream<Item = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: DistributedStream<Item = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
fn inner_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: DistributedStream<Item = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: DistributedStream<Item = (K, V1)>,
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
fn chain<C>(
self,
chain: C
) -> Chain<Self, <C as IntoDistributedStream>::DistStream> where
C: IntoDistributedStream<Item = Self::Item>,
[src]
self,
chain: C
) -> Chain<Self, <C as IntoDistributedStream>::DistStream> where
C: IntoDistributedStream<Item = Self::Item>,
#[must_use]fn for_each<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item,), Output = ()> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item,), Output = ()> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(B, Either<Self::Item, B>), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
B: ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
ID: FnMut<(), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(B, Either<Self::Item, B>), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
B: ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
ID: FnMut<(), Output = B> + Clone + ProcessSend + 'static + '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), Global>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize), Global>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn sort_n_by<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
n: usize,
cmp: F
) -> Pin<Box<dyn Future<Output = Sort<Self::Item, F>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: Fn<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Clone,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
cmp: F
) -> Pin<Box<dyn Future<Output = Sort<Self::Item, F>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: Fn<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Clone,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
S: Sum<Self::Item> + Sum<S> + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
S: Sum<Self::Item> + Sum<S> + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn mean<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = f64> + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = f64> + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn stddev<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = f64> + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = f64> + 'async_trait,
P: ProcessPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item, Self::Item), Output = Self::Item> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item, Self::Item), Output = Self::Item> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Ord,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Ord,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Ord,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Ord,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = (A, B)> + 'async_trait,
A: Hash + Eq + Clone + ProcessSend + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Pin<Box<dyn Future<Output = Top<A, HyperLogLogMagnitude<B>>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: DistributedStream<Item = (A, B)> + 'async_trait,
A: Hash + Eq + Clone + ProcessSend + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ProcessPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: ProcessSend,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
impl<P, F, R, Input> ParallelPipe<Input> for FilterMapSync<P, F> where
F: FnMut<(<P as ParallelPipe<Input>>::Output,), Output = Option<R>> + Clone + Send + 'static,
P: ParallelPipe<Input>,
[src]
impl<P, F, R, Input> ParallelPipe<Input> for FilterMapSync<P, F> where
F: FnMut<(<P as ParallelPipe<Input>>::Output,), Output = Option<R>> + Clone + Send + 'static,
P: ParallelPipe<Input>,
[src]type Output = R
type Task = FilterMapSyncTask<<P as ParallelPipe<Input>>::Task, F>
pub fn task(&self) -> <FilterMapSync<P, F> as ParallelPipe<Input>>::Task
[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Output) + Clone + Send + 'static,
[src]
F: FnMut(&Self::Output) + Clone + Send + 'static,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Output) + Clone + Send + 'static,
[src]
F: FnMut(&mut Self::Output) + Clone + Send + 'static,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Output) -> B + Clone + Send + 'static,
[src]
F: FnMut(Self::Output) -> B + Clone + Send + 'static,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Output) -> B + Clone + Send + 'static,
B: Stream,
[src]
F: FnMut(Self::Output) -> B + Clone + Send + 'static,
B: Stream,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Output) -> bool + Clone + Send + 'static,
[src]
F: FnMut(&Self::Output) -> bool + Clone + Send + 'static,
fn cloned<'a, T>(self) -> Cloned<Self, T, Input> where
Self: ParallelPipe<&'a Input, Output = &'a T>,
Input: 'a,
T: Clone + 'a,
[src]
Self: ParallelPipe<&'a Input, Output = &'a T>,
Input: 'a,
T: Clone + 'a,
fn left_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: ParallelPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: ParallelPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
fn inner_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: ParallelPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: ParallelPipe<Input, Output = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
fn pipe<S>(self, sink: S) -> Pipe<Self, S> where
S: ParallelSink<Self::Output>,
[src]
S: ParallelSink<Self::Output>,
fn fork<A, B, RefAItem>(
self,
sink: A,
sink_ref: B
) -> Fork<Self, A, B, &'static Self::Output> where
A: ParallelSink<Self::Output>,
B: for<'a> ParallelSink<&'a Self::Output>,
[src]
self,
sink: A,
sink_ref: B
) -> Fork<Self, A, B, &'static Self::Output> where
A: ParallelSink<Self::Output>,
B: for<'a> ParallelSink<&'a Self::Output>,
fn for_each<F>(self, f: F) -> ForEach<Self, F> where
F: FnMut(Self::Output) + Clone + Send + 'static,
[src]
F: FnMut(Self::Output) + Clone + Send + 'static,
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B> where
F: FnMut(B, Either<Self::Output, B>) -> B + Clone + Send + 'static,
B: Send + 'static,
ID: FnMut() -> B + Clone + Send + 'static,
[src]
F: FnMut(B, Either<Self::Output, B>) -> B + Clone + Send + 'static,
B: Send + 'static,
ID: FnMut() -> B + Clone + Send + 'static,
fn group_by<S, A, B>(self, sink: S) -> GroupBy<Self, S> where
Self: ParallelPipe<Input, Output = (A, B)>,
S: ParallelSink<B>,
A: Eq + Hash + Send + 'static,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Clone,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Send,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: 'static,
<S as ParallelSink<B>>::ReduceA: 'static,
<S as ParallelSink<B>>::ReduceC: Clone,
<S as ParallelSink<B>>::Done: Send,
<S as ParallelSink<B>>::Done: 'static,
[src]
Self: ParallelPipe<Input, Output = (A, B)>,
S: ParallelSink<B>,
A: Eq + Hash + Send + 'static,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Clone,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Send,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: 'static,
<S as ParallelSink<B>>::ReduceA: 'static,
<S as ParallelSink<B>>::ReduceC: Clone,
<S as ParallelSink<B>>::Done: Send,
<S as ParallelSink<B>>::Done: 'static,
fn histogram(self) -> Histogram<Self> where
Self::Output: Hash,
Self::Output: Ord,
Self::Output: Send,
Self::Output: 'static,
[src]
Self::Output: Hash,
Self::Output: Ord,
Self::Output: Send,
Self::Output: 'static,
fn sort_n_by<F>(self, n: usize, cmp: F) -> Sort<Self, F> where
F: Fn(&Self::Output, &Self::Output) -> Ordering + Clone + Send + 'static,
Self::Output: Clone,
Self::Output: Send,
Self::Output: 'static,
[src]
F: Fn(&Self::Output, &Self::Output) -> Ordering + Clone + Send + 'static,
Self::Output: Clone,
Self::Output: Send,
Self::Output: 'static,
fn count(self) -> Count<Self>
[src]
fn sum<B>(self) -> Sum<Self, B> where
B: Sum<Self::Output> + Sum<B> + Send + 'static,
[src]
B: Sum<Self::Output> + Sum<B> + Send + 'static,
fn mean(self) -> Mean<Self> where
Self: ParallelPipe<Input, Output = f64>,
[src]
Self: ParallelPipe<Input, Output = f64>,
fn stddev(self) -> StdDev<Self> where
Self: ParallelPipe<Input, Output = f64>,
[src]
Self: ParallelPipe<Input, Output = f64>,
fn combine<F>(self, f: F) -> Combine<Self, F> where
F: FnMut(Self::Output, Self::Output) -> Self::Output + Clone + Send + 'static,
Self::Output: Send,
Self::Output: 'static,
[src]
F: FnMut(Self::Output, Self::Output) -> Self::Output + Clone + Send + 'static,
Self::Output: Send,
Self::Output: 'static,
fn max(self) -> Max<Self> where
Self::Output: Ord,
Self::Output: Send,
Self::Output: 'static,
[src]
Self::Output: Ord,
Self::Output: Send,
Self::Output: 'static,
fn max_by<F>(self, f: F) -> MaxBy<Self, F> where
F: FnMut(&Self::Output, &Self::Output) -> Ordering + Clone + Send + 'static,
Self::Output: Send,
Self::Output: 'static,
[src]
F: FnMut(&Self::Output, &Self::Output) -> Ordering + Clone + Send + 'static,
Self::Output: Send,
Self::Output: 'static,
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F> where
F: FnMut(&Self::Output) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Output: Send,
Self::Output: 'static,
[src]
F: FnMut(&Self::Output) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Output: Send,
Self::Output: 'static,
fn min(self) -> Min<Self> where
Self::Output: Ord,
Self::Output: Send,
Self::Output: 'static,
[src]
Self::Output: Ord,
Self::Output: Send,
Self::Output: 'static,
fn min_by<F>(self, f: F) -> MinBy<Self, F> where
F: FnMut(&Self::Output, &Self::Output) -> Ordering + Clone + Send + 'static,
Self::Output: Send,
Self::Output: 'static,
[src]
F: FnMut(&Self::Output, &Self::Output) -> Ordering + Clone + Send + 'static,
Self::Output: Send,
Self::Output: 'static,
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F> where
F: FnMut(&Self::Output) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Output: Send,
Self::Output: 'static,
[src]
F: FnMut(&Self::Output) -> B + Clone + Send + 'static,
B: Ord + 'static,
Self::Output: Send,
Self::Output: 'static,
fn most_frequent(
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Output: Hash,
Self::Output: Eq,
Self::Output: Clone,
Self::Output: Send,
Self::Output: 'static,
[src]
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Output: Hash,
Self::Output: Eq,
Self::Output: Clone,
Self::Output: Send,
Self::Output: 'static,
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: ParallelPipe<Input, Output = (A, B)>,
A: Hash + Eq + Clone + Send + 'static,
B: Hash + 'static,
[src]
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: ParallelPipe<Input, Output = (A, B)>,
A: Hash + Eq + Clone + Send + 'static,
B: Hash + 'static,
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self> where
Self::Output: Send,
Self::Output: 'static,
[src]
Self::Output: Send,
Self::Output: 'static,
fn all<F>(self, f: F) -> All<Self, F> where
F: FnMut(Self::Output) -> bool + Clone + Send + 'static,
[src]
F: FnMut(Self::Output) -> bool + Clone + Send + 'static,
fn any<F>(self, f: F) -> Any<Self, F> where
F: FnMut(Self::Output) -> bool + Clone + Send + 'static,
[src]
F: FnMut(Self::Output) -> bool + Clone + Send + 'static,
fn collect<B>(self) -> Collect<Self, B> where
B: FromParallelStream<Self::Output>,
[src]
B: FromParallelStream<Self::Output>,
impl<P, F, R> ParallelStream for FilterMapSync<P, F> where
F: FnMut<(<P as ParallelStream>::Item,), Output = Option<R>> + Clone + Send + 'static,
P: ParallelStream,
[src]
impl<P, F, R> ParallelStream for FilterMapSync<P, F> where
F: FnMut<(<P as ParallelStream>::Item,), Output = Option<R>> + Clone + Send + 'static,
P: ParallelStream,
[src]type Item = R
type Task = FilterMapSyncTask<<P as ParallelStream>::Task, F>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn next_task(
self: Pin<&mut FilterMapSync<P, F>>,
cx: &mut Context<'_>
) -> Poll<Option<<FilterMapSync<P, F> as ParallelStream>::Task>>
[src]
self: Pin<&mut FilterMapSync<P, F>>,
cx: &mut Context<'_>
) -> Poll<Option<<FilterMapSync<P, F> as ParallelStream>::Task>>
#[must_use]fn reduce<'life0, 'async_trait, P, B, R1, R3>(
self,
pool: &'life0 P,
reduce_a: R1,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
R1: ReducerSend<Self::Item> + Clone + Send + 'static + 'async_trait,
R3: Reducer<<R1 as ReducerSend<Self::Item>>::Done, Done = B> + 'async_trait,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
reduce_a: R1,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
R1: ReducerSend<Self::Item> + Clone + Send + 'static + 'async_trait,
R3: Reducer<<R1 as ReducerSend<Self::Item>>::Done, Done = B> + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
ParSink: ParallelSink<Self::Item, Done = A> + 'async_trait,
A: 'async_trait,
P: ThreadPool + 'async_trait,
<<ParSink as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSink as ParallelSink<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink: ParSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
ParSink: ParallelSink<Self::Item, Done = A> + 'async_trait,
A: 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
ParSinkA: ParallelSink<Self::Item, Done = A> + 'async_trait,
ParSinkB: for<'a> ParallelSink<&'a Self::Item, Done = B> + 'static + '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,
[src]
self,
pool: &'life0 P,
sink_a: ParSinkA,
sink_b: ParSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
ParSinkA: ParallelSink<Self::Item, Done = A> + 'async_trait,
ParSinkB: for<'a> ParallelSink<&'a Self::Item, Done = B> + 'static + '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 group_by<'life0, 'async_trait, P, S, A, B>(
self,
pool: &'life0 P,
sink: S
) -> Pin<Box<dyn Future<Output = IndexMap<A, <S as ParallelSink<B>>::Done, RandomState>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
S: ParallelSink<B> + 'async_trait,
A: Eq + Hash + Send + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ThreadPool + 'async_trait,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Clone,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Send,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: 'static,
<S as ParallelSink<B>>::ReduceA: 'static,
<S as ParallelSink<B>>::ReduceC: Clone,
<S as ParallelSink<B>>::Done: Send,
<S as ParallelSink<B>>::Done: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink: S
) -> Pin<Box<dyn Future<Output = IndexMap<A, <S as ParallelSink<B>>::Done, RandomState>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
S: ParallelSink<B> + 'async_trait,
A: Eq + Hash + Send + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ThreadPool + 'async_trait,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Clone,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: Send,
<<S as ParallelSink<B>>::Pipe as ParallelPipe<B>>::Task: 'static,
<S as ParallelSink<B>>::ReduceA: 'static,
<S as ParallelSink<B>>::ReduceC: Clone,
<S as ParallelSink<B>>::Done: Send,
<S as ParallelSink<B>>::Done: '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: FromParallelStream<Self::Item> + 'async_trait,
P: ThreadPool + 'async_trait,
<B as FromParallelStream<Self::Item>>::ReduceA: Send,
<B as FromParallelStream<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
B: FromParallelStream<Self::Item> + 'async_trait,
P: ThreadPool + 'async_trait,
<B as FromParallelStream<Self::Item>>::ReduceA: Send,
<B as FromParallelStream<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + Send + 'static,
[src]
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,
[src]
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,
[src]
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
B: Stream,
[src]
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
B: Stream,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool + Clone + Send + 'static,
[src]
F: FnMut(&Self::Item) -> bool + Clone + Send + 'static,
fn left_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: ParallelStream<Item = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> LeftJoin<Self, K, V1, V2> where
Self: ParallelStream<Item = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
fn inner_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: ParallelStream<Item = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
[src]
self,
right: impl IntoIterator<Item = (K, V2)>
) -> InnerJoin<Self, K, V1, V2> where
Self: ParallelStream<Item = (K, V1)>,
K: Eq + Hash + Clone + Send + 'static,
V1: 'static,
V2: Clone + Send + 'static,
fn chain<C>(self, chain: C) -> Chain<Self, <C as IntoParallelStream>::ParStream> where
C: IntoParallelStream<Item = Self::Item>,
[src]
C: IntoParallelStream<Item = Self::Item>,
#[must_use]fn for_each<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item) + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item) + Clone + Send + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static + 'async_trait,
B: Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
ID: FnMut() -> B + Clone + Send + 'static + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static + 'async_trait,
B: Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
ID: FnMut() -> B + Clone + Send + 'static + '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), Global>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize), Global>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn sort_n_by<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
n: usize,
cmp: F
) -> Pin<Box<dyn Future<Output = Sort<Self::Item, F>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: Fn(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Clone,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
cmp: F
) -> Pin<Box<dyn Future<Output = Sort<Self::Item, F>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: Fn(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Clone,
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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
S: Sum<Self::Item> + Sum<S> + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
S: Sum<Self::Item> + Sum<S> + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn mean<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = f64> + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = f64> + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn stddev<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = f64> + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = f64> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = f64> + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
B: Ord + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
A: Hash + Eq + Clone + Send + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Pin<Box<dyn Future<Output = Top<A, HyperLogLogMagnitude<B>>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
A: Hash + Eq + Clone + Send + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + '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, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
impl<'pin, P, F> Unpin for FilterMapSync<P, F> where
__FilterMapSync<'pin, P, F>: Unpin,
[src]
__FilterMapSync<'pin, P, F>: Unpin,
impl<P, F> UnsafeUnpin for FilterMapSync<P, F>
[src]
Auto Trait Implementations
impl<P, F> RefUnwindSafe for FilterMapSync<P, F> where
F: RefUnwindSafe,
P: RefUnwindSafe,
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, F> Send for FilterMapSync<P, F> where
F: Send,
P: Send,
F: Send,
P: Send,
impl<P, F> Sync for FilterMapSync<P, F> where
F: Sync,
P: Sync,
F: Sync,
P: Sync,
impl<P, F> UnwindSafe for FilterMapSync<P, F> where
F: UnwindSafe,
P: UnwindSafe,
F: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<A, B> Downcast<A> for B where
A: DowncastFrom<B>,
[src]
impl<A, B> Downcast<A> for B where
A: DowncastFrom<B>,
[src]pub fn downcast(self) -> Result<A, DowncastError>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> IntoDistributedStream for T where
T: DistributedStream,
[src]
impl<T> IntoDistributedStream for T where
T: DistributedStream,
[src]type DistStream = T
type Item = <T as DistributedStream>::Item
pub fn into_dist_stream(self) -> <T as IntoDistributedStream>::DistStream
[src]
fn par_stream_mut(&mut self) -> <&mut Self as IntoDistributedStream>::DistStream where
&'a mut Self: for<'a> IntoDistributedStream,
[src]
&'a mut Self: for<'a> IntoDistributedStream,
fn dist_stream(&self) -> <&Self as IntoDistributedStream>::DistStream where
&'a Self: for<'a> IntoDistributedStream,
[src]
&'a Self: for<'a> IntoDistributedStream,
impl<T> IntoParallelStream for T where
T: ParallelStream,
[src]
impl<T> IntoParallelStream for T where
T: ParallelStream,
[src]type ParStream = T
type Item = <T as ParallelStream>::Item
pub fn into_par_stream(self) -> <T as IntoParallelStream>::ParStream
[src]
fn par_stream_mut(&mut self) -> <&mut Self as IntoParallelStream>::ParStream where
&'a mut Self: for<'a> IntoParallelStream,
[src]
&'a mut Self: for<'a> IntoParallelStream,
fn par_stream(&self) -> <&Self as IntoParallelStream>::ParStream where
&'a Self: for<'a> IntoParallelStream,
[src]
&'a Self: for<'a> IntoParallelStream,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> Type for T
[src]
impl<T> Type for T
[src]pub fn meta(self: *const T) -> <T as Type>::Meta
[src]
pub fn meta(self: *const T) -> <T as Type>::Meta
[src]Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]
pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]Create a dangling non-null *const Self
with the provided Self::Meta
.
pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]
pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]Create a *mut Self
with the provided Self::Meta
.
fn meta_type(self: *const Self) -> MetaType
[src]
fn meta_type(self: *const Self) -> MetaType
[src]Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
impl<T> Type for T where
T: ?Sized,
[src]
impl<T> Type for T where
T: ?Sized,
[src]pub default fn meta(self: *const T) -> <T as Type>::Meta
[src]
pub default fn meta(self: *const T) -> <T as Type>::Meta
[src]Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]
pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]Create a dangling non-null *const Self
with the provided Self::Meta
.
pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]
pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]Create a *mut Self
with the provided Self::Meta
.
type Meta: 'static
type Meta: 'static
Type of metadata for type.
fn meta_type(self: *const Self) -> MetaType
[src]
fn meta_type(self: *const Self) -> MetaType
[src]Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,