[−][src]Struct amadeus_core::dist_stream::FlatMap
Trait Implementations
impl<I: DistributedPipe<Source>, F, R: Stream, Source> DistributedPipe<Source> for FlatMap<I, F> where
F: FnMut(<I as DistributedPipe<Source>>::Item) -> R + Clone + ProcessSend,
[src]
F: FnMut(<I as DistributedPipe<Source>>::Item) -> R + Clone + ProcessSend,
type Item = R::Item
type Task = FlatMapTask<I::Task, F>
fn task(&self) -> Self::Task
[src]
fn for_each<F>(self, f: F) -> ForEach<Self, F> where
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: Stream,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: Stream,
Self: Sized,
fn filter<F, Fut>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> Fut + Clone + ProcessSend,
Fut: Future<Output = bool>,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> Fut + Clone + ProcessSend,
Fut: Future<Output = bool>,
Self: Sized,
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B> where
ID: FnMut() -> B + Clone + ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
ID: FnMut() -> B + Clone + ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
fn count(self) -> Count<Self> where
Self::Item: 'static,
Self: Sized,
[src]
Self::Item: 'static,
Self: Sized,
fn sum<B>(self) -> Sum<Self, B> where
B: Sum<Self::Item> + Sum<B> + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
B: Sum<Self::Item> + Sum<B> + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn combine<F>(self, f: F) -> Combine<Self, F> where
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn max(self) -> Max<Self> where
Self::Item: Ord + ProcessSend,
Self: Sized,
[src]
Self::Item: Ord + ProcessSend,
Self: Sized,
fn max_by<F>(self, f: F) -> MaxBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F> where
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
fn min(self) -> Min<Self> where
Self::Item: Ord + ProcessSend,
Self: Sized,
[src]
Self::Item: Ord + ProcessSend,
Self: Sized,
fn min_by<F>(self, f: F) -> MinBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F> where
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
fn most_frequent(
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash + Eq + Clone + ProcessSend,
Self: Sized,
[src]
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash + Eq + Clone + ProcessSend,
Self: Sized,
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: DistributedPipe<Source, Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
[src]
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: DistributedPipe<Source, Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self> where
Self::Item: ProcessSend,
Self: Sized,
[src]
Self::Item: ProcessSend,
Self: Sized,
fn all<F>(self, f: F) -> All<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn any<F>(self, f: F) -> Any<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn collect<B>(self) -> Collect<Self, B> where
B: FromDistributedStream<Self::Item>,
Self: Sized,
[src]
B: FromDistributedStream<Self::Item>,
Self: Sized,
fn cloned<'a, T>(self) -> Cloned<Self, T, Source> where
T: Clone + 'a,
Source: 'a,
Self: DistributedPipe<&'a Source, Item = &'a T> + Sized,
[src]
T: Clone + 'a,
Source: 'a,
Self: DistributedPipe<&'a Source, Item = &'a T> + Sized,
impl<I: DistributedStream, F, R: Stream> DistributedStream for FlatMap<I, F> where
F: FnMut(I::Item) -> R + Clone + ProcessSend,
[src]
F: FnMut(I::Item) -> R + Clone + ProcessSend,
type Item = R::Item
type Task = FlatMapTask<I::Task, F>
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,
Self: Sized,
[src]
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: Stream,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: Stream,
Self: Sized,
fn filter<F, Fut>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> Fut + Clone + ProcessSend,
Fut: Future<Output = bool>,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> Fut + Clone + ProcessSend,
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,
R2F: Factory<Item = R2>,
R1: ReducerSend<Item = Self::Item> + ProcessSend,
R2: ReducerProcessSend<Item = <R1 as Reducer>::Output> + ProcessSend,
R3: Reducer<Item = <R2 as ReducerProcessSend>::Output, Output = B>,
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,
R2F: Factory<Item = R2>,
R1: ReducerSend<Item = Self::Item> + ProcessSend,
R2: ReducerProcessSend<Item = <R1 as Reducer>::Output> + ProcessSend,
R3: Reducer<Item = <R2 as ReducerProcessSend>::Output, Output = B>,
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 fork<'life0, 'async_trait, P, DistPipeA, DistPipeB, 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,
DistPipeA: DistributedPipe<Self::Item>,
DistPipeB: for<'a> DistributedPipe<&'a Self::Item>,
DistSinkA: DistributedSink<DistPipeA, Self::Item, A>,
DistSinkB: for<'a> DistributedSink<DistPipeB, &'a Self::Item, B>,
Self::Item: 'static,
Self: Sized,
P: 'async_trait,
DistPipeA: 'async_trait,
DistPipeB: '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,
DistPipeA: DistributedPipe<Self::Item>,
DistPipeB: for<'a> DistributedPipe<&'a Self::Item>,
DistSinkA: DistributedSink<DistPipeA, Self::Item, A>,
DistSinkB: for<'a> DistributedSink<DistPipeB, &'a Self::Item, B>,
Self::Item: 'static,
Self: Sized,
P: 'async_trait,
DistPipeA: 'async_trait,
DistPipeB: '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,
Self::Item: '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,
Self::Item: '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,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: '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,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
P: 'async_trait,
ID: 'async_trait,
F: 'async_trait,
B: '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: 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: 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,
Self::Item: '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,
Self::Item: '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,
Self::Item: ProcessSend,
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,
Self::Item: ProcessSend,
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,
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,
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,
Self::Item: ProcessSend,
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,
Self::Item: ProcessSend,
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,
B: Ord + 'static,
Self::Item: ProcessSend,
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,
B: Ord + 'static,
Self::Item: ProcessSend,
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,
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,
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,
Self::Item: ProcessSend,
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,
Self::Item: ProcessSend,
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,
B: Ord + 'static,
Self::Item: ProcessSend,
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,
B: Ord + 'static,
Self::Item: ProcessSend,
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,
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,
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,
B: Hash + '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,
B: Hash + '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,
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,
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,
Self::Item: '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,
Self::Item: '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,
Self::Item: '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,
Self::Item: '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::ReduceA: ProcessSend,
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::ReduceA: ProcessSend,
Self: Sized,
P: 'async_trait,
B: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<I, F> RefUnwindSafe for FlatMap<I, F> where
F: RefUnwindSafe,
I: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, F> Send for FlatMap<I, F> where
F: Send,
I: Send,
F: Send,
I: Send,
impl<I, F> Sync for FlatMap<I, F> where
F: Sync,
I: Sync,
F: Sync,
I: Sync,
impl<I, F> Unpin for FlatMap<I, F> where
F: Unpin,
I: Unpin,
F: Unpin,
I: Unpin,
impl<I, F> UnwindSafe for FlatMap<I, F> where
F: UnwindSafe,
I: UnwindSafe,
F: 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>,