[−][src]Struct amadeus::source::IntoStream
Implementations
impl<I, U> IntoStream<I, U>
[src]
Trait Implementations
impl<I, T, E, U> DistributedStream for IntoStream<I, U> where
I: DistributedStream<Item = Result<T, E>>,
T: Into<U>,
U: 'static,
[src]
I: DistributedStream<Item = Result<T, E>>,
T: Into<U>,
U: 'static,
type Item = Result<U, E>
type Task = IntoTask<I::Task, U>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Task>>
[src]
#[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>> where
'life0: '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: '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>> where
'life0: '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: '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>> where
'life0: 'async_trait,
A: 'async_trait,
DistSink: DistributedSink<Self::Item, Done = A> + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
A: 'async_trait,
DistSink: DistributedSink<Self::Item, Done = A> + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
A: 'async_trait,
B: 'async_trait,
DistSinkA: DistributedSink<Self::Item, Done = A> + 'async_trait,
DistSinkB: for<'a> DistributedSink<&'a Self::Item, Done = B> + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
A: 'async_trait,
B: 'async_trait,
DistSinkA: DistributedSink<Self::Item, Done = A> + 'async_trait,
DistSinkB: for<'a> DistributedSink<&'a Self::Item, Done = B> + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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 = HashMap<A, <S as DistributedSink<B>>::Done, RandomState>> + 'async_trait>> where
'life0: 'async_trait,
A: Eq + Hash + ProcessSend + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ProcessPool + 'async_trait,
S: DistributedSink<B> + 'async_trait,
Self: DistributedStream<Item = (A, B)> + '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 = HashMap<A, <S as DistributedSink<B>>::Done, RandomState>> + 'async_trait>> where
'life0: 'async_trait,
A: Eq + Hash + ProcessSend + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ProcessPool + 'async_trait,
S: DistributedSink<B> + 'async_trait,
Self: DistributedStream<Item = (A, B)> + '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>> where
'life0: 'async_trait,
B: FromDistributedStream<Self::Item> + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
B: FromDistributedStream<Self::Item> + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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
B: Stream,
F: FnMut<(Self::Item,), Output = B> + Clone + ProcessSend + 'static,
[src]
B: Stream,
F: FnMut<(Self::Item,), Output = B> + Clone + ProcessSend + 'static,
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 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>> where
'life0: 'async_trait,
F: FnMut<(Self::Item,), Output = ()> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut<(Self::Item,), Output = ()> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn fold<'life0, 'async_trait, P, ID, F, B>(
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: ProcessSend + 'static + 'async_trait,
F: FnMut<(B, Either<Self::Item, B>), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
ID: FnMut<(), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
B: ProcessSend + 'static + 'async_trait,
F: FnMut<(B, Either<Self::Item, B>), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
ID: FnMut<(), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn histogram<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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)>> + 'async_trait>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn sum<'life0, 'async_trait, P, S>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
S: Sum<Self::Item> + Sum<S> + ProcessSend + 'static + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
S: Sum<Self::Item> + Sum<S> + ProcessSend + 'static + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn combine<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut<(Self::Item, Self::Item), Output = Self::Item> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
F: FnMut<(Self::Item, Self::Item), Output = Self::Item> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
F: FnMut<(&Self::Item, &Self::Item), Output = Ordering> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut<(&Self::Item,), Output = B> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
A: Hash + Eq + Clone + ProcessSend + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: DistributedStream<Item = (A, B)> + '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>> where
'life0: 'async_trait,
A: Hash + Eq + Clone + ProcessSend + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: DistributedStream<Item = (A, B)> + 'async_trait,
Self::Task: 'static,
#[must_use]fn sample_unstable<'life0, 'async_trait, P>(
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
P: ProcessPool + 'async_trait,
Self: '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>> where
'life0: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn any<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut<(Self::Item,), Output = bool> + Clone + ProcessSend + 'static + 'async_trait,
P: ProcessPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
impl<I, T, E, U> Iterator for IntoStream<I, U> where
I: Iterator<Item = Result<T, E>>,
T: Into<U>,
[src]
I: Iterator<Item = Result<T, E>>,
T: Into<U>,
type Item = Result<U, E>
The type of the elements being iterated over.
fn next(&mut self) -> Option<Self::Item>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
1.0.0[src]
fn count(self) -> usize
1.0.0[src]
fn last(self) -> Option<Self::Item>
1.0.0[src]
fn nth(&mut self, n: usize) -> Option<Self::Item>
1.0.0[src]
fn step_by(self, step: usize) -> StepBy<Self>
1.28.0[src]
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter> where
U: IntoIterator<Item = Self::Item>,
1.0.0[src]
U: IntoIterator<Item = Self::Item>,
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter> where
U: IntoIterator,
1.0.0[src]
U: IntoIterator,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B,
1.0.0[src]
F: FnMut(Self::Item) -> B,
fn for_each<F>(self, f: F) where
F: FnMut(Self::Item),
1.21.0[src]
F: FnMut(Self::Item),
fn filter<P>(self, predicate: P) -> Filter<Self, P> where
P: FnMut(&Self::Item) -> bool,
1.0.0[src]
P: FnMut(&Self::Item) -> bool,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Option<B>,
1.0.0[src]
F: FnMut(Self::Item) -> Option<B>,
fn enumerate(self) -> Enumerate<Self>
1.0.0[src]
fn peekable(self) -> Peekable<Self>
1.0.0[src]
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
P: FnMut(&Self::Item) -> bool,
1.0.0[src]
P: FnMut(&Self::Item) -> bool,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
P: FnMut(&Self::Item) -> bool,
1.0.0[src]
P: FnMut(&Self::Item) -> bool,
fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P> where
P: FnMut(Self::Item) -> Option<B>,
[src]
P: FnMut(Self::Item) -> Option<B>,
fn skip(self, n: usize) -> Skip<Self>
1.0.0[src]
fn take(self, n: usize) -> Take<Self>
1.0.0[src]
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
F: FnMut(&mut St, Self::Item) -> Option<B>,
1.0.0[src]
F: FnMut(&mut St, Self::Item) -> Option<B>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
F: FnMut(Self::Item) -> U,
U: IntoIterator,
1.0.0[src]
F: FnMut(Self::Item) -> U,
U: IntoIterator,
fn flatten(self) -> Flatten<Self> where
Self::Item: IntoIterator,
1.29.0[src]
Self::Item: IntoIterator,
fn fuse(self) -> Fuse<Self>
1.0.0[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item),
1.0.0[src]
F: FnMut(&Self::Item),
fn by_ref(&mut self) -> &mut Self
1.0.0[src]
#[must_use =
"if you really need to exhaust the iterator, consider `.for_each(drop)` instead"]fn collect<B>(self) -> B where
B: FromIterator<Self::Item>,
1.0.0[src]
B: FromIterator<Self::Item>,
fn partition<B, F>(self, f: F) -> (B, B) where
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> bool,
1.0.0[src]
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> bool,
fn partition_in_place<'a, T, P>(self, predicate: P) -> usize where
P: FnMut(&T) -> bool,
Self: DoubleEndedIterator<Item = &'a mut T>,
T: 'a,
[src]
P: FnMut(&T) -> bool,
Self: DoubleEndedIterator<Item = &'a mut T>,
T: 'a,
fn is_partitioned<P>(self, predicate: P) -> bool where
P: FnMut(Self::Item) -> bool,
[src]
P: FnMut(Self::Item) -> bool,
fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R where
F: FnMut(B, Self::Item) -> R,
R: Try<Ok = B>,
1.27.0[src]
F: FnMut(B, Self::Item) -> R,
R: Try<Ok = B>,
fn try_for_each<F, R>(&mut self, f: F) -> R where
F: FnMut(Self::Item) -> R,
R: Try<Ok = ()>,
1.27.0[src]
F: FnMut(Self::Item) -> R,
R: Try<Ok = ()>,
fn fold<B, F>(self, init: B, f: F) -> B where
F: FnMut(B, Self::Item) -> B,
1.0.0[src]
F: FnMut(B, Self::Item) -> B,
fn fold_first<F>(self, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item,
fn all<F>(&mut self, f: F) -> bool where
F: FnMut(Self::Item) -> bool,
1.0.0[src]
F: FnMut(Self::Item) -> bool,
fn any<F>(&mut self, f: F) -> bool where
F: FnMut(Self::Item) -> bool,
1.0.0[src]
F: FnMut(Self::Item) -> bool,
fn find<P>(&mut self, predicate: P) -> Option<Self::Item> where
P: FnMut(&Self::Item) -> bool,
1.0.0[src]
P: FnMut(&Self::Item) -> bool,
fn find_map<B, F>(&mut self, f: F) -> Option<B> where
F: FnMut(Self::Item) -> Option<B>,
1.30.0[src]
F: FnMut(Self::Item) -> Option<B>,
fn try_find<F, R>(
&mut self,
f: F
) -> Result<Option<Self::Item>, <R as Try>::Error> where
F: FnMut(&Self::Item) -> R,
R: Try<Ok = bool>,
[src]
&mut self,
f: F
) -> Result<Option<Self::Item>, <R as Try>::Error> where
F: FnMut(&Self::Item) -> R,
R: Try<Ok = bool>,
fn position<P>(&mut self, predicate: P) -> Option<usize> where
P: FnMut(Self::Item) -> bool,
1.0.0[src]
P: FnMut(Self::Item) -> bool,
fn rposition<P>(&mut self, predicate: P) -> Option<usize> where
P: FnMut(Self::Item) -> bool,
Self: ExactSizeIterator + DoubleEndedIterator,
1.0.0[src]
P: FnMut(Self::Item) -> bool,
Self: ExactSizeIterator + DoubleEndedIterator,
fn max(self) -> Option<Self::Item> where
Self::Item: Ord,
1.0.0[src]
Self::Item: Ord,
fn min(self) -> Option<Self::Item> where
Self::Item: Ord,
1.0.0[src]
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item> where
B: Ord,
F: FnMut(&Self::Item) -> B,
1.6.0[src]
B: Ord,
F: FnMut(&Self::Item) -> B,
fn max_by<F>(self, compare: F) -> Option<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
1.15.0[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item> where
B: Ord,
F: FnMut(&Self::Item) -> B,
1.6.0[src]
B: Ord,
F: FnMut(&Self::Item) -> B,
fn min_by<F>(self, compare: F) -> Option<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
1.15.0[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn rev(self) -> Rev<Self> where
Self: DoubleEndedIterator,
1.0.0[src]
Self: DoubleEndedIterator,
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB) where
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: Iterator<Item = (A, B)>,
1.0.0[src]
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: Iterator<Item = (A, B)>,
fn copied<'a, T>(self) -> Copied<Self> where
Self: Iterator<Item = &'a T>,
T: 'a + Copy,
1.36.0[src]
Self: Iterator<Item = &'a T>,
T: 'a + Copy,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Iterator<Item = &'a T>,
T: 'a + Clone,
1.0.0[src]
Self: Iterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Clone,
1.0.0[src]
Self: Clone,
fn sum<S>(self) -> S where
S: Sum<Self::Item>,
1.11.0[src]
S: Sum<Self::Item>,
fn product<P>(self) -> P where
P: Product<Self::Item>,
1.11.0[src]
P: Product<Self::Item>,
fn cmp<I>(self, other: I) -> Ordering where
I: IntoIterator<Item = Self::Item>,
Self::Item: Ord,
1.5.0[src]
I: IntoIterator<Item = Self::Item>,
Self::Item: Ord,
fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering where
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,
I: IntoIterator,
[src]
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,
I: IntoIterator,
fn partial_cmp<I>(self, other: I) -> Option<Ordering> where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering> where
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
I: IntoIterator,
[src]
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
I: IntoIterator,
fn eq<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>,
fn eq_by<I, F>(self, other: I, eq: F) -> bool where
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,
I: IntoIterator,
[src]
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,
I: IntoIterator,
fn ne<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>,
fn lt<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
fn le<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
fn gt<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
fn ge<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
1.5.0[src]
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
fn is_sorted(self) -> bool where
Self::Item: PartialOrd<Self::Item>,
[src]
Self::Item: PartialOrd<Self::Item>,
fn is_sorted_by<F>(self, compare: F) -> bool where
F: FnMut(&Self::Item, &Self::Item) -> Option<Ordering>,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Option<Ordering>,
fn is_sorted_by_key<F, K>(self, f: F) -> bool where
F: FnMut(Self::Item) -> K,
K: PartialOrd<K>,
[src]
F: FnMut(Self::Item) -> K,
K: PartialOrd<K>,
impl<I, T, E, U> ParallelStream for IntoStream<I, U> where
I: ParallelStream<Item = Result<T, E>>,
T: Into<U>,
U: 'static,
[src]
I: ParallelStream<Item = Result<T, E>>,
T: Into<U>,
U: 'static,
type Item = Result<U, E>
type Task = IntoTask<I::Task, U>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Task>>
[src]
#[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>> where
'life0: '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: 'async_trait,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
reduce_a: R1,
reduce_c: R3
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: '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: 'async_trait,
Self::Task: 'static,
#[must_use]fn pipe<'life0, 'async_trait, P, ParSink, A>(
self,
pool: &'life0 P,
sink: ParSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
P: ThreadPool + 'async_trait,
ParSink: ParallelSink<Self::Item, Done = A> + 'async_trait,
Self: 'async_trait,
<<ParSink as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSink as ParallelSink<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink: ParSink
) -> Pin<Box<dyn Future<Output = A> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
P: ThreadPool + 'async_trait,
ParSink: ParallelSink<Self::Item, Done = A> + 'async_trait,
Self: 'async_trait,
<<ParSink as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSink as ParallelSink<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
#[must_use]fn fork<'life0, 'async_trait, P, ParSinkA, ParSinkB, A, B>(
self,
pool: &'life0 P,
sink_a: ParSinkA,
sink_b: ParSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
ParSinkA: ParallelSink<Self::Item, Done = A> + 'async_trait,
ParSinkB: for<'a> ParallelSink<&'a Self::Item, Done = B> + 'static + 'async_trait,
Self: 'async_trait,
<<ParSinkA as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSinkA as ParallelSink<Self::Item>>::ReduceA: 'static,
<ParSinkB as ParallelSink<&'static Self::Item>>::ReduceA: 'static,
<<ParSinkB as ParallelSink<&'static Self::Item>>::Pipe as ParallelPipe<&'static Self::Item>>::Task: 'static,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
sink_a: ParSinkA,
sink_b: ParSinkB
) -> Pin<Box<dyn Future<Output = (A, B)> + 'async_trait>> where
'life0: 'async_trait,
A: 'async_trait,
B: 'async_trait,
P: ThreadPool + 'async_trait,
ParSinkA: ParallelSink<Self::Item, Done = A> + 'async_trait,
ParSinkB: for<'a> ParallelSink<&'a Self::Item, Done = B> + 'static + 'async_trait,
Self: 'async_trait,
<<ParSinkA as ParallelSink<Self::Item>>::Pipe as ParallelPipe<Self::Item>>::Task: 'static,
<ParSinkA as ParallelSink<Self::Item>>::ReduceA: 'static,
<ParSinkB as ParallelSink<&'static Self::Item>>::ReduceA: 'static,
<<ParSinkB as ParallelSink<&'static Self::Item>>::Pipe as ParallelPipe<&'static Self::Item>>::Task: 'static,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn group_by<'life0, 'async_trait, P, S, A, B>(
self,
pool: &'life0 P,
sink: S
) -> Pin<Box<dyn Future<Output = HashMap<A, <S as ParallelSink<B>>::Done, RandomState>> + 'async_trait>> where
'life0: 'async_trait,
A: Eq + Hash + Send + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ThreadPool + 'async_trait,
S: ParallelSink<B> + 'async_trait,
Self: ParallelStream<Item = (A, B)> + '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 = HashMap<A, <S as ParallelSink<B>>::Done, RandomState>> + 'async_trait>> where
'life0: 'async_trait,
A: Eq + Hash + Send + 'static + 'async_trait,
B: 'static + 'async_trait,
P: ThreadPool + 'async_trait,
S: ParallelSink<B> + 'async_trait,
Self: ParallelStream<Item = (A, B)> + '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>> where
'life0: 'async_trait,
B: FromParallelStream<Self::Item> + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
<B as FromParallelStream<Self::Item>>::ReduceA: Send,
<B as FromParallelStream<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: FromParallelStream<Self::Item> + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
<B as FromParallelStream<Self::Item>>::ReduceA: Send,
<B as FromParallelStream<Self::Item>>::ReduceA: 'static,
Self::Task: 'static,
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
B: Stream,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
[src]
B: Stream,
F: FnMut(Self::Item) -> B + Clone + Send + 'static,
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 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>> where
'life0: 'async_trait,
F: FnMut(Self::Item) + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn fold<'life0, 'async_trait, P, ID, F, B>(
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: Send + 'static + 'async_trait,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static + 'async_trait,
ID: FnMut() -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
identity: ID,
op: F
) -> Pin<Box<dyn Future<Output = B> + 'async_trait>> where
'life0: 'async_trait,
B: Send + 'static + 'async_trait,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + Send + 'static + 'async_trait,
ID: FnMut() -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn histogram<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Vec<(Self::Item, usize)>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn count<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn sum<'life0, 'async_trait, P, S>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
S: Sum<Self::Item> + Sum<S> + Send + 'static + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = S> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
S: Sum<Self::Item> + Sum<S> + Send + 'static + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn combine<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn max<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn max_by<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn max_by_key<'life0, 'async_trait, P, F, B>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn min<'life0, 'async_trait, P>(
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Ord,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn min_by<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn min_by_key<'life0, 'async_trait, P, F, B>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = Option<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
B: Ord + 'static + 'async_trait,
F: FnMut(&Self::Item) -> B + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn most_frequent<'life0, 'async_trait, P>(
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64
) -> Pin<Box<dyn Future<Output = Top<Self::Item, usize>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn most_distinct<'life0, 'async_trait, P, A, B>(
self,
pool: &'life0 P,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Pin<Box<dyn Future<Output = Top<A, HyperLogLogMagnitude<B>>> + 'async_trait>> where
'life0: 'async_trait,
A: Hash + Eq + Clone + Send + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
Self::Task: 'static,
[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
'life0: 'async_trait,
A: Hash + Eq + Clone + Send + 'static + 'async_trait,
B: Hash + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: ParallelStream<Item = (A, B)> + 'async_trait,
Self::Task: 'static,
#[must_use]fn sample_unstable<'life0, 'async_trait, P>(
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
samples: usize
) -> Pin<Box<dyn Future<Output = SampleUnstable<Self::Item>> + 'async_trait>> where
'life0: 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: Send,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn all<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
#[must_use]fn any<'life0, 'async_trait, P, F>(
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
[src]
self,
pool: &'life0 P,
f: F
) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where
'life0: 'async_trait,
F: FnMut(Self::Item) -> bool + Clone + Send + 'static + 'async_trait,
P: ThreadPool + 'async_trait,
Self: 'async_trait,
Self::Item: 'static,
Self::Task: 'static,
impl<I, U> PinnedDrop for IntoStream<I, U>
[src]
impl<'pin, I, U> Unpin for IntoStream<I, U> where
__IntoStream<'pin, I, U>: Unpin,
[src]
__IntoStream<'pin, I, U>: Unpin,
impl<I, U> UnsafeUnpin for IntoStream<I, U>
[src]
Auto Trait Implementations
impl<I, U> RefUnwindSafe for IntoStream<I, U> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, U> Send for IntoStream<I, U> where
I: Send,
I: Send,
impl<I, U> Sync for IntoStream<I, U> where
I: Sync,
I: Sync,
impl<I, U> UnwindSafe for IntoStream<I, U> 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<A, B> Downcast<A> for B where
A: DowncastFrom<B>,
[src]
A: DowncastFrom<B>,
fn downcast(self) -> Result<A, DowncastError>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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: for<'a> IntoDistributedStream,
[src]
&mut self
) -> <&mut Self as IntoDistributedStream>::DistStream where
&'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<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> IntoParallelStream for T where
T: ParallelStream,
[src]
T: ParallelStream,
type ParStream = T
type Item = <T as ParallelStream>::Item
fn into_par_stream(self) -> <T as IntoParallelStream>::ParStream
[src]
fn dist_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<I> IteratorExt for I where
I: Iterator,
[src]
I: Iterator,
fn par(self) -> IterParStream<Self>
[src]
fn dist(self) -> IterDistStream<Self>
[src]
impl<I> IteratorRandom for I where
I: Iterator,
[src]
I: Iterator,
fn choose<R>(self, rng: &mut R) -> Option<Self::Item> where
R: Rng + ?Sized,
[src]
R: Rng + ?Sized,
fn choose_multiple_fill<R>(self, rng: &mut R, buf: &mut [Self::Item]) -> usize where
R: Rng + ?Sized,
[src]
R: Rng + ?Sized,
fn choose_multiple<R>(self, rng: &mut R, amount: usize) -> Vec<Self::Item> where
R: Rng + ?Sized,
[src]
R: Rng + ?Sized,
impl<T> Itertools for T where
T: Iterator + ?Sized,
[src]
T: Iterator + ?Sized,
fn interleave<J>(
self,
other: J
) -> Interleave<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
[src]
self,
other: J
) -> Interleave<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
fn interleave_shortest<J>(
self,
other: J
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
[src]
self,
other: J
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
fn intersperse(self, element: Self::Item) -> Intersperse<Self> where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn zip_longest<J>(
self,
other: J
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
[src]
self,
other: J
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
[src]
J: IntoIterator,
fn batching<B, F>(self, f: F) -> Batching<Self, F> where
F: FnMut(&mut Self) -> Option<B>,
[src]
F: FnMut(&mut Self) -> Option<B>,
fn group_by<K, F>(self, key: F) -> GroupBy<K, Self, F> where
F: FnMut(&Self::Item) -> K,
K: PartialEq<K>,
[src]
F: FnMut(&Self::Item) -> K,
K: PartialEq<K>,
fn chunks(self, size: usize) -> IntoChunks<Self>
[src]
fn tuple_windows<T>(self) -> TupleWindows<Self, T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
<T as TupleCollect>::Item: Clone,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
<T as TupleCollect>::Item: Clone,
fn tuples<T>(self) -> Tuples<Self, T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
fn tee(self) -> (Tee<Self>, Tee<Self>) where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn step(self, n: usize) -> Step<Self>
[src]
fn map_into<R>(self) -> MapInto<Self, R> where
Self::Item: Into<R>,
[src]
Self::Item: Into<R>,
fn map_results<F, T, U, E>(self, f: F) -> MapResults<Self, F> where
F: FnMut(T) -> U,
Self: Iterator<Item = Result<T, E>>,
[src]
F: FnMut(T) -> U,
Self: Iterator<Item = Result<T, E>>,
fn merge<J>(
self,
other: J
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> where
J: IntoIterator<Item = Self::Item>,
Self::Item: PartialOrd<Self::Item>,
[src]
self,
other: J
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> where
J: IntoIterator<Item = Self::Item>,
Self::Item: PartialOrd<Self::Item>,
fn merge_by<J, F>(
self,
other: J,
is_first: F
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &Self::Item) -> bool,
J: IntoIterator<Item = Self::Item>,
[src]
self,
other: J,
is_first: F
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &Self::Item) -> bool,
J: IntoIterator<Item = Self::Item>,
fn merge_join_by<J, F>(
self,
other: J,
cmp_fn: F
) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> Ordering,
J: IntoIterator,
[src]
self,
other: J,
cmp_fn: F
) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> Ordering,
J: IntoIterator,
fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt> where
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::Item: PartialOrd<<Self::Item as IntoIterator>::Item>,
[src]
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::Item: PartialOrd<<Self::Item as IntoIterator>::Item>,
fn kmerge_by<F>(
self,
first: F
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> where
F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Self::Item: IntoIterator,
[src]
self,
first: F
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> where
F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Self::Item: IntoIterator,
fn cartesian_product<J>(
self,
other: J
) -> Product<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
Self::Item: Clone,
<J as IntoIterator>::IntoIter: Clone,
[src]
self,
other: J
) -> Product<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
Self::Item: Clone,
<J as IntoIterator>::IntoIter: Clone,
fn multi_cartesian_product(
self
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> where
Self: Iterator,
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::IntoIter: Clone,
<Self::Item as IntoIterator>::Item: Clone,
[src]
self
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> where
Self: Iterator,
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::IntoIter: Clone,
<Self::Item as IntoIterator>::Item: Clone,
fn coalesce<F>(self, f: F) -> Coalesce<Self, F> where
F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,
[src]
F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,
fn dedup(self) -> DedupBy<Self, DedupEq> where
Self::Item: PartialEq<Self::Item>,
[src]
Self::Item: PartialEq<Self::Item>,
fn dedup_by<Cmp>(self, cmp: Cmp) -> DedupBy<Self, Cmp> where
Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
[src]
Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
fn unique(self) -> Unique<Self> where
Self::Item: Clone,
Self::Item: Eq,
Self::Item: Hash,
[src]
Self::Item: Clone,
Self::Item: Eq,
Self::Item: Hash,
fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> where
F: FnMut(&Self::Item) -> V,
V: Eq + Hash,
[src]
F: FnMut(&Self::Item) -> V,
V: Eq + Hash,
fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<Self, F> where
F: FnMut(&Self::Item) -> bool,
Self: PeekingNext,
[src]
F: FnMut(&Self::Item) -> bool,
Self: PeekingNext,
fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<Self, F> where
F: FnMut(&Self::Item) -> bool,
Self: Clone,
[src]
F: FnMut(&Self::Item) -> bool,
Self: Clone,
fn while_some<A>(self) -> WhileSome<Self> where
Self: Iterator<Item = Option<A>>,
[src]
Self: Iterator<Item = Option<A>>,
fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> where
Self: Clone,
T: HasCombination<Self>,
Self::Item: Clone,
[src]
Self: Clone,
T: HasCombination<Self>,
Self::Item: Clone,
fn combinations(self, k: usize) -> Combinations<Self> where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn combinations_with_replacement(
self,
k: usize
) -> CombinationsWithReplacement<Self> where
Self::Item: Clone,
[src]
self,
k: usize
) -> CombinationsWithReplacement<Self> where
Self::Item: Clone,
fn permutations(self, k: usize) -> Permutations<Self> where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> where
F: FnMut(usize) -> Self::Item,
[src]
F: FnMut(usize) -> Self::Item,
fn with_position(self) -> WithPosition<Self>
[src]
fn positions<P>(self, predicate: P) -> Positions<Self, P> where
P: FnMut(Self::Item) -> bool,
[src]
P: FnMut(Self::Item) -> bool,
fn update<F>(self, updater: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item),
[src]
F: FnMut(&mut Self::Item),
fn next_tuple<T>(&mut self) -> Option<T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
fn collect_tuple<T>(self) -> Option<T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: HomogeneousTuple,
fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)> where
P: FnMut(&Self::Item) -> bool,
[src]
P: FnMut(&Self::Item) -> bool,
fn all_equal(&mut self) -> bool where
Self::Item: PartialEq<Self::Item>,
[src]
Self::Item: PartialEq<Self::Item>,
fn dropping(self, n: usize) -> Self
[src]
fn dropping_back(self, n: usize) -> Self where
Self: DoubleEndedIterator,
[src]
Self: DoubleEndedIterator,
fn foreach<F>(self, f: F) where
F: FnMut(Self::Item),
[src]
F: FnMut(Self::Item),
fn concat(self) -> Self::Item where
Self::Item: Extend<<Self::Item as IntoIterator>::Item>,
Self::Item: IntoIterator,
Self::Item: Default,
[src]
Self::Item: Extend<<Self::Item as IntoIterator>::Item>,
Self::Item: IntoIterator,
Self::Item: Default,
fn collect_vec(self) -> Vec<Self::Item>
[src]
fn try_collect<T, U, E>(self) -> Result<U, E> where
Self: Iterator<Item = Result<T, E>>,
Result<U, E>: FromIterator<Result<T, E>>,
[src]
Self: Iterator<Item = Result<T, E>>,
Result<U, E>: FromIterator<Result<T, E>>,
fn set_from<'a, A, J>(&mut self, from: J) -> usize where
A: 'a,
J: IntoIterator<Item = A>,
Self: Iterator<Item = &'a mut A>,
[src]
A: 'a,
J: IntoIterator<Item = A>,
Self: Iterator<Item = &'a mut A>,
fn join(&mut self, sep: &str) -> String where
Self::Item: Display,
[src]
Self::Item: Display,
fn format(self, sep: &str) -> Format<Self>
[src]
fn format_with<F>(self, sep: &str, format: F) -> FormatWith<Self, F> where
F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display)) -> Result<(), Error>,
[src]
F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display)) -> Result<(), Error>,
fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E> where
F: FnMut(B, A) -> B,
Self: Iterator<Item = Result<A, E>>,
[src]
F: FnMut(B, A) -> B,
Self: Iterator<Item = Result<A, E>>,
fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B> where
F: FnMut(B, A) -> B,
Self: Iterator<Item = Option<A>>,
[src]
F: FnMut(B, A) -> B,
Self: Iterator<Item = Option<A>>,
fn fold1<F>(self, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item,
fn tree_fold1<F>(self, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item,
fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B> where
F: FnMut(B, Self::Item) -> FoldWhile<B>,
[src]
F: FnMut(B, Self::Item) -> FoldWhile<B>,
fn sum1<S>(self) -> Option<S> where
S: Sum<Self::Item>,
[src]
S: Sum<Self::Item>,
fn product1<P>(self) -> Option<P> where
P: Product<Self::Item>,
[src]
P: Product<Self::Item>,
fn sorted(self) -> IntoIter<Self::Item> where
Self::Item: Ord,
[src]
Self::Item: Ord,
fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> where
F: FnMut(&Self::Item) -> K,
K: Ord,
[src]
F: FnMut(&Self::Item) -> K,
K: Ord,
fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B) where
A: Default + Extend<L>,
B: Default + Extend<R>,
F: FnMut(Self::Item) -> Either<L, R>,
[src]
A: Default + Extend<L>,
B: Default + Extend<R>,
F: FnMut(Self::Item) -> Either<L, R>,
fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>, RandomState> where
K: Hash + Eq,
Self: Iterator<Item = (K, V)>,
[src]
K: Hash + Eq,
Self: Iterator<Item = (K, V)>,
fn minmax(self) -> MinMaxResult<Self::Item> where
Self::Item: PartialOrd<Self::Item>,
[src]
Self::Item: PartialOrd<Self::Item>,
fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item> where
F: FnMut(&Self::Item) -> K,
K: PartialOrd<K>,
[src]
F: FnMut(&Self::Item) -> K,
K: PartialOrd<K>,
fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn position_max(self) -> Option<usize> where
Self::Item: Ord,
[src]
Self::Item: Ord,
fn position_max_by_key<K, F>(self, key: F) -> Option<usize> where
F: FnMut(&Self::Item) -> K,
K: Ord,
[src]
F: FnMut(&Self::Item) -> K,
K: Ord,
fn position_max_by<F>(self, compare: F) -> Option<usize> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn position_min(self) -> Option<usize> where
Self::Item: Ord,
[src]
Self::Item: Ord,
fn position_min_by_key<K, F>(self, key: F) -> Option<usize> where
F: FnMut(&Self::Item) -> K,
K: Ord,
[src]
F: FnMut(&Self::Item) -> K,
K: Ord,
fn position_min_by<F>(self, compare: F) -> Option<usize> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn position_minmax(self) -> MinMaxResult<usize> where
Self::Item: PartialOrd<Self::Item>,
[src]
Self::Item: PartialOrd<Self::Item>,
fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize> where
F: FnMut(&Self::Item) -> K,
K: PartialOrd<K>,
[src]
F: FnMut(&Self::Item) -> K,
K: PartialOrd<K>,
fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>
[src]
impl<T> Itertools for T where
T: Iterator + ?Sized,
[src]
T: Iterator + ?Sized,
fn interleave<J>(
self,
other: J
) -> Interleave<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
[src]
self,
other: J
) -> Interleave<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
fn interleave_shortest<J>(
self,
other: J
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
[src]
self,
other: J
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator<Item = Self::Item>,
fn intersperse(self, element: Self::Item) -> Intersperse<Self> where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn zip_longest<J>(
self,
other: J
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
[src]
self,
other: J
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
[src]
J: IntoIterator,
fn batching<B, F>(self, f: F) -> Batching<Self, F> where
F: FnMut(&mut Self) -> Option<B>,
[src]
F: FnMut(&mut Self) -> Option<B>,
fn group_by<K, F>(self, key: F) -> GroupBy<K, Self, F> where
F: FnMut(&Self::Item) -> K,
K: PartialEq<K>,
[src]
F: FnMut(&Self::Item) -> K,
K: PartialEq<K>,
fn chunks(self, size: usize) -> IntoChunks<Self>
[src]
fn tuple_windows<T>(self) -> TupleWindows<Self, T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
<T as TupleCollect>::Item: Clone,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
<T as TupleCollect>::Item: Clone,
fn tuples<T>(self) -> Tuples<Self, T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
fn tee(self) -> (Tee<Self>, Tee<Self>) where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn step(self, n: usize) -> Step<Self>
[src]
fn map_into<R>(self) -> MapInto<Self, R> where
Self::Item: Into<R>,
[src]
Self::Item: Into<R>,
fn map_results<F, T, U, E>(self, f: F) -> MapResults<Self, F> where
F: FnMut(T) -> U,
Self: Iterator<Item = Result<T, E>>,
[src]
F: FnMut(T) -> U,
Self: Iterator<Item = Result<T, E>>,
fn merge<J>(
self,
other: J
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> where
J: IntoIterator<Item = Self::Item>,
Self::Item: PartialOrd<Self::Item>,
[src]
self,
other: J
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> where
J: IntoIterator<Item = Self::Item>,
Self::Item: PartialOrd<Self::Item>,
fn merge_by<J, F>(
self,
other: J,
is_first: F
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &Self::Item) -> bool,
J: IntoIterator<Item = Self::Item>,
[src]
self,
other: J,
is_first: F
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &Self::Item) -> bool,
J: IntoIterator<Item = Self::Item>,
fn merge_join_by<J, F>(
self,
other: J,
cmp_fn: F
) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> Ordering,
J: IntoIterator,
[src]
self,
other: J,
cmp_fn: F
) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F> where
F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> Ordering,
J: IntoIterator,
fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt> where
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::Item: PartialOrd<<Self::Item as IntoIterator>::Item>,
[src]
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::Item: PartialOrd<<Self::Item as IntoIterator>::Item>,
fn kmerge_by<F>(
self,
first: F
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> where
F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Self::Item: IntoIterator,
[src]
self,
first: F
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> where
F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Self::Item: IntoIterator,
fn cartesian_product<J>(
self,
other: J
) -> Product<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
Self::Item: Clone,
<J as IntoIterator>::IntoIter: Clone,
[src]
self,
other: J
) -> Product<Self, <J as IntoIterator>::IntoIter> where
J: IntoIterator,
Self::Item: Clone,
<J as IntoIterator>::IntoIter: Clone,
fn multi_cartesian_product(
self
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> where
Self: Iterator,
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::IntoIter: Clone,
<Self::Item as IntoIterator>::Item: Clone,
[src]
self
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> where
Self: Iterator,
Self::Item: IntoIterator,
<Self::Item as IntoIterator>::IntoIter: Clone,
<Self::Item as IntoIterator>::Item: Clone,
fn coalesce<F>(self, f: F) -> Coalesce<Self, F> where
F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,
[src]
F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,
fn dedup(self) -> DedupBy<Self, DedupEq> where
Self::Item: PartialEq<Self::Item>,
[src]
Self::Item: PartialEq<Self::Item>,
fn dedup_by<Cmp>(self, cmp: Cmp) -> DedupBy<Self, Cmp> where
Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
[src]
Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
fn unique(self) -> Unique<Self> where
Self::Item: Clone,
Self::Item: Eq,
Self::Item: Hash,
[src]
Self::Item: Clone,
Self::Item: Eq,
Self::Item: Hash,
fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> where
F: FnMut(&Self::Item) -> V,
V: Eq + Hash,
[src]
F: FnMut(&Self::Item) -> V,
V: Eq + Hash,
fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<Self, F> where
F: FnMut(&Self::Item) -> bool,
Self: PeekingNext,
[src]
F: FnMut(&Self::Item) -> bool,
Self: PeekingNext,
fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<Self, F> where
F: FnMut(&Self::Item) -> bool,
Self: Clone,
[src]
F: FnMut(&Self::Item) -> bool,
Self: Clone,
fn while_some<A>(self) -> WhileSome<Self> where
Self: Iterator<Item = Option<A>>,
[src]
Self: Iterator<Item = Option<A>>,
fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> where
Self: Clone,
T: HasCombination<Self>,
Self::Item: Clone,
[src]
Self: Clone,
T: HasCombination<Self>,
Self::Item: Clone,
fn combinations(self, k: usize) -> Combinations<Self> where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn combinations_with_replacement(
self,
k: usize
) -> CombinationsWithReplacement<Self> where
Self::Item: Clone,
[src]
self,
k: usize
) -> CombinationsWithReplacement<Self> where
Self::Item: Clone,
fn permutations(self, k: usize) -> Permutations<Self> where
Self::Item: Clone,
[src]
Self::Item: Clone,
fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> where
F: FnMut(usize) -> Self::Item,
[src]
F: FnMut(usize) -> Self::Item,
fn with_position(self) -> WithPosition<Self>
[src]
fn positions<P>(self, predicate: P) -> Positions<Self, P> where
P: FnMut(Self::Item) -> bool,
[src]
P: FnMut(Self::Item) -> bool,
fn update<F>(self, updater: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item),
[src]
F: FnMut(&mut Self::Item),
fn next_tuple<T>(&mut self) -> Option<T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
fn collect_tuple<T>(self) -> Option<T> where
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
[src]
Self: Iterator<Item = <T as TupleCollect>::Item>,
T: TupleCollect,
fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)> where
P: FnMut(&Self::Item) -> bool,
[src]
P: FnMut(&Self::Item) -> bool,
fn all_equal(&mut self) -> bool where
Self::Item: PartialEq<Self::Item>,
[src]
Self::Item: PartialEq<Self::Item>,
fn dropping(self, n: usize) -> Self
[src]
fn dropping_back(self, n: usize) -> Self where
Self: DoubleEndedIterator,
[src]
Self: DoubleEndedIterator,
fn foreach<F>(self, f: F) where
F: FnMut(Self::Item),
[src]
F: FnMut(Self::Item),
fn concat(self) -> Self::Item where
Self::Item: Extend<<Self::Item as IntoIterator>::Item>,
Self::Item: IntoIterator,
Self::Item: Default,
[src]
Self::Item: Extend<<Self::Item as IntoIterator>::Item>,
Self::Item: IntoIterator,
Self::Item: Default,
fn collect_vec(self) -> Vec<Self::Item>
[src]
fn set_from<'a, A, J>(&mut self, from: J) -> usize where
A: 'a,
J: IntoIterator<Item = A>,
Self: Iterator<Item = &'a mut A>,
[src]
A: 'a,
J: IntoIterator<Item = A>,
Self: Iterator<Item = &'a mut A>,
fn join(&mut self, sep: &str) -> String where
Self::Item: Display,
[src]
Self::Item: Display,
fn format(self, sep: &str) -> Format<Self>
[src]
fn format_with<F>(self, sep: &str, format: F) -> FormatWith<Self, F> where
F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display)) -> Result<(), Error>,
[src]
F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display)) -> Result<(), Error>,
fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E> where
F: FnMut(B, A) -> B,
Self: Iterator<Item = Result<A, E>>,
[src]
F: FnMut(B, A) -> B,
Self: Iterator<Item = Result<A, E>>,
fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B> where
F: FnMut(B, A) -> B,
Self: Iterator<Item = Option<A>>,
[src]
F: FnMut(B, A) -> B,
Self: Iterator<Item = Option<A>>,
fn fold1<F>(self, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item,
fn tree_fold1<F>(self, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item,
fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B> where
F: FnMut(B, Self::Item) -> FoldWhile<B>,
[src]
F: FnMut(B, Self::Item) -> FoldWhile<B>,
fn sum1<S>(self) -> Option<S> where
S: Sum<Self::Item>,
[src]
S: Sum<Self::Item>,
fn product1<P>(self) -> Option<P> where
P: Product<Self::Item>,
[src]
P: Product<Self::Item>,
fn sorted(self) -> IntoIter<Self::Item> where
Self::Item: Ord,
[src]
Self::Item: Ord,
fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> where
F: FnMut(&Self::Item) -> K,
K: Ord,
[src]
F: FnMut(&Self::Item) -> K,
K: Ord,
fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B) where
A: Default + Extend<L>,
B: Default + Extend<R>,
F: FnMut(Self::Item) -> Either<L, R>,
[src]
A: Default + Extend<L>,
B: Default + Extend<R>,
F: FnMut(Self::Item) -> Either<L, R>,
fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>, RandomState> where
K: Hash + Eq,
Self: Iterator<Item = (K, V)>,
[src]
K: Hash + Eq,
Self: Iterator<Item = (K, V)>,
fn minmax(self) -> MinMaxResult<Self::Item> where
Self::Item: PartialOrd<Self::Item>,
[src]
Self::Item: PartialOrd<Self::Item>,
fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item> where
F: FnMut(&Self::Item) -> K,
K: PartialOrd<K>,
[src]
F: FnMut(&Self::Item) -> K,
K: PartialOrd<K>,
fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
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<T> Type for T where
T: ?Sized,
[src]
T: ?Sized,
default fn meta(self: *const T) -> <T as Type>::Meta
[src]
default fn data(self: *const T) -> *const ()
[src]
default fn data_mut(self: *mut T) -> *mut ()
[src]
default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]
default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]
const METATYPE: MetaType
[src]
type Meta: 'static
fn meta_type(self: *const Self) -> MetaType
[src]
impl<T> Type for T
[src]
const METATYPE: MetaType
[src]
type Meta = Concrete
Type of metadata for type.
fn meta(self: *const T) -> <T as Type>::Meta
[src]
fn data(self: *const T) -> *const ()
[src]
fn data_mut(self: *mut T) -> *mut ()
[src]
fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]
fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]
fn meta_type(self: *const Self) -> MetaType
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,