[−][src]Struct amadeus_core::into_par_stream::IterDistStream
Trait Implementations
impl<I: Iterator> DistributedStream for IterDistStream<I> where
I::Item: ProcessSend + 'static, [src]
I::Item: ProcessSend + 'static,
type Item = I::Item
type Task = IterStreamTask<I::Item>
fn size_hint(&self) -> (usize, Option<usize>)[src]
fn next_task(&mut self) -> Option<Self::Task>[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + ProcessSend + 'static,
Self: Sized, [src]
F: FnMut(&Self::Item) + Clone + ProcessSend + 'static,
Self: Sized,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend + 'static,
Self: Sized, [src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend + 'static,
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend + 'static,
Self: Sized, [src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend + 'static,
Self: Sized,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend + 'static,
B: Stream,
Self: Sized, [src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend + 'static,
B: Stream,
Self: Sized,
fn filter<F, Fut>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> Fut + Clone + ProcessSend + 'static,
Fut: Future<Output = bool>,
Self: Sized, [src]
F: FnMut(&Self::Item) -> Fut + Clone + ProcessSend + 'static,
Fut: Future<Output = bool>,
Self: Sized,
fn chain<C>(self, chain: C) -> Chain<Self, C::DistStream> where
C: IntoDistributedStream<Item = Self::Item>,
Self: Sized, [src]
C: IntoDistributedStream<Item = Self::Item>,
Self: Sized,
#[must_use]fn reduce<'life0, 'async_trait, P, B, R1F, R2F, R1, R2, R3>(
self,
pool: &'life0 P,
reduce_a_factory: R1F,
reduce_b_factory: R2F,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
P: ProcessPool,
R1F: Factory<Item = R1> + Clone + ProcessSend + 'static,
R2F: Factory<Item = R2>,
R1: ReducerSend<Item = Self::Item> + Send + 'static,
R2: ReducerProcessSend<Item = <R1 as Reducer>::Output> + ProcessSend + 'static,
R3: Reducer<Item = <R2 as ReducerProcessSend>::Output, Output = B>,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
B: 'async_trait,
R1F: 'async_trait,
R2F: 'async_trait,
R1: 'async_trait,
R2: 'async_trait,
R3: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
reduce_a_factory: R1F,
reduce_b_factory: R2F,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
P: ProcessPool,
R1F: Factory<Item = R1> + Clone + ProcessSend + 'static,
R2F: Factory<Item = R2>,
R1: ReducerSend<Item = Self::Item> + Send + 'static,
R2: ReducerProcessSend<Item = <R1 as Reducer>::Output> + ProcessSend + 'static,
R3: Reducer<Item = <R2 as ReducerProcessSend>::Output, Output = B>,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
B: 'async_trait,
R1F: 'async_trait,
R2F: 'async_trait,
R1: 'async_trait,
R2: 'async_trait,
R3: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn pipe<'life0, 'async_trait, P, DistSink, A>(
self,
pool: &'life0 P,
sink: DistSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait>> where
P: ProcessPool,
DistSink: DistributedSink<Self::Item, Output = A>,
<DistSink::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
DistSink::ReduceAFactory: 'static,
DistSink::ReduceA: 'static,
DistSink::ReduceB: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
DistSink: 'async_trait,
A: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
sink: DistSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait>> where
P: ProcessPool,
DistSink: DistributedSink<Self::Item, Output = A>,
<DistSink::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
DistSink::ReduceAFactory: 'static,
DistSink::ReduceA: 'static,
DistSink::ReduceB: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
DistSink: 'async_trait,
A: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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>> where
P: ProcessPool,
DistSinkA: DistributedSink<Self::Item, Output = A>,
DistSinkB: for<'a> DistributedSink<&'a Self::Item, Output = B> + 'static,
<DistSinkA::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
DistSinkA::ReduceAFactory: 'static,
DistSinkA::ReduceA: 'static,
DistSinkA::ReduceB: 'static,
<DistSinkB as DistributedSink<&'static Self::Item>>::ReduceAFactory: '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,
Self: Sized,
P: 'async_trait,
DistSinkA: 'async_trait,
DistSinkB: 'async_trait,
A: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
sink_a: DistSinkA,
sink_b: DistSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait>> where
P: ProcessPool,
DistSinkA: DistributedSink<Self::Item, Output = A>,
DistSinkB: for<'a> DistributedSink<&'a Self::Item, Output = B> + 'static,
<DistSinkA::Pipe as DistributedPipe<Self::Item>>::Task: 'static,
DistSinkA::ReduceAFactory: 'static,
DistSinkA::ReduceA: 'static,
DistSinkA::ReduceB: 'static,
<DistSinkB as DistributedSink<&'static Self::Item>>::ReduceAFactory: '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,
Self: Sized,
P: 'async_trait,
DistSinkA: 'async_trait,
DistSinkB: 'async_trait,
A: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn for_each<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item) + Clone + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item) + Clone + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
ID: FnMut() -> B + Clone + ProcessSend + 'static,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend + 'static,
B: ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
ID: 'async_trait,
F: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
P: ProcessPool,
ID: FnMut() -> B + Clone + ProcessSend + 'static,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend + 'static,
B: ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
ID: 'async_trait,
F: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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>> + 'async_trait>> where
P: ProcessPool,
A: Eq + Hash + ProcessSend + 'static,
B: 'static,
ID: FnMut() -> C + Clone + ProcessSend + 'static,
F: FnMut(C, Either<B, C>) -> C + Clone + ProcessSend + 'static,
C: ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: DistributedStream<Item = (A, B)> + Sized,
P: 'async_trait,
A: 'async_trait,
B: 'async_trait,
ID: 'async_trait,
F: 'async_trait,
C: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = HashMap<A, C>> + 'async_trait>> where
P: ProcessPool,
A: Eq + Hash + ProcessSend + 'static,
B: 'static,
ID: FnMut() -> C + Clone + ProcessSend + 'static,
F: FnMut(C, Either<B, C>) -> C + Clone + ProcessSend + 'static,
C: ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: DistributedStream<Item = (A, B)> + Sized,
P: 'async_trait,
A: 'async_trait,
B: 'async_trait,
ID: 'async_trait,
F: 'async_trait,
C: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn histogram<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Hash + Ord + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Hash + Ord + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn count<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
P: ProcessPool,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
P: ProcessPool,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn sum<'life0, 'async_trait, P, S>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
P: ProcessPool,
S: Sum<Self::Item> + Sum<S> + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
S: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
P: ProcessPool,
S: Sum<Self::Item> + Sum<S> + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
S: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn max<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Ord + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Ord + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn min<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Ord + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Ord + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
P: ProcessPool,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
Self::Item: Hash + Eq + Clone + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait>> where
P: ProcessPool,
Self::Item: Hash + Eq + Clone + ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
Self: DistributedStream<Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend + 'static,
B: Hash + 'static,
Self::Task: 'static,
P: 'async_trait,
A: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [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>> where
P: ProcessPool,
Self: DistributedStream<Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend + 'static,
B: Hash + 'static,
Self::Task: 'static,
P: 'async_trait,
A: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[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
P: ProcessPool,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait>> where
P: ProcessPool,
Self::Item: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn all<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item) -> bool + Clone + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item) -> bool + Clone + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn any<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item) -> bool + Clone + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
P: ProcessPool,
F: FnMut(Self::Item) -> bool + Clone + ProcessSend + 'static,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
F: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn collect<'life0, 'async_trait, P, B>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
P: ProcessPool,
B: FromDistributedStream<Self::Item>,
B::ReduceAFactory: ProcessSend + 'static,
B::ReduceA: ProcessSend + 'static,
B::ReduceB: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
P: ProcessPool,
B: FromDistributedStream<Self::Item>,
B::ReduceAFactory: ProcessSend + 'static,
B::ReduceA: ProcessSend + 'static,
B::ReduceB: ProcessSend + 'static,
Self::Task: 'static,
Self: Sized,
P: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<I> RefUnwindSafe for IterDistStream<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for IterDistStream<I> where
I: Send,
I: Send,
impl<I> Sync for IterDistStream<I> where
I: Sync,
I: Sync,
impl<I> Unpin for IterDistStream<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for IterDistStream<I> where
I: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T> IntersectPlusUnionIsPlus for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> IntoDistributedStream for T where
T: DistributedStream, [src]
T: DistributedStream,
type DistStream = T
type Item = <T as DistributedStream>::Item
fn into_dist_stream(Self) -> <T as IntoDistributedStream>::DistStream[src]
fn dist_stream_mut(
&mut self
) -> <&mut Self as IntoDistributedStream>::DistStream where
&'a mut Self: IntoDistributedStream, [src]
&mut self
) -> <&mut Self as IntoDistributedStream>::DistStream where
&'a mut Self: IntoDistributedStream,
fn dist_stream(&self) -> <&Self as IntoDistributedStream>::DistStream where
&'a Self: IntoDistributedStream, [src]
&'a Self: IntoDistributedStream,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,