pub struct Cloned<P, T, Input> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a, P, Input, T> DistributedPipe<&'a Input> for Cloned<P, T, Input>
impl<'a, P, Input, T> DistributedPipe<&'a Input> for Cloned<P, T, Input>
type Output = T
type Task = ClonedTask<<P as DistributedPipe<&'a Input>>::Task>
fn task(&self) -> Self::Task
fn inspect<F>(self, f: F) -> Inspect<Self, F>
fn update<F>(self, f: F) -> Update<Self, F>
fn map<B, F>(self, f: F) -> Map<Self, F>
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F>
fn filter<F>(self, f: F) -> Filter<Self, F>
fn cloned<'a, T>(self) -> Cloned<Self, T, Input>
fn left_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>,
) -> LeftJoin<Self, K, V1, V2>where
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
Self: DistributedPipe<Input, Output = (K, V1)> + Sized,
fn inner_join<K, V1, V2>(
self,
right: impl IntoIterator<Item = (K, V2)>,
) -> InnerJoin<Self, K, V1, V2>where
K: Eq + Hash + Clone + ProcessSend + 'static,
V1: 'static,
V2: Clone + ProcessSend + 'static,
Self: DistributedPipe<Input, Output = (K, V1)> + Sized,
fn pipe<S>(self, sink: S) -> Pipe<Self, S>
fn fork<A, B, RefAItem>( self, sink: A, sink_ref: B, ) -> Fork<Self, A, B, &'static Self::Output>
fn for_each<F>(self, f: F) -> ForEach<Self, F>
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B>where
ID: FnMut() -> B + Clone + ProcessSend + 'static,
F: FnMut(B, Either<Self::Output, B>) -> B + Clone + ProcessSend + 'static,
B: ProcessSend + 'static,
Self: Sized,
fn group_by<S, A, B>(self, sink: S) -> GroupBy<Self, S>where
A: Eq + Hash + ProcessSend + 'static,
S: DistributedSink<B>,
<S::Pipe as DistributedPipe<B>>::Task: Clone + ProcessSend + 'static,
S::ReduceA: 'static,
S::ReduceC: Clone,
S::Done: ProcessSend + 'static,
Self: DistributedPipe<Input, Output = (A, B)> + Sized,
fn histogram(self) -> Histogram<Self>
fn sort_n_by<F>(self, n: usize, cmp: F) -> Sort<Self, F>where
F: Fn(&Self::Output, &Self::Output) -> Ordering + Clone + ProcessSend + 'static,
Self::Output: Clone + ProcessSend + 'static,
Self: Sized,
fn count(self) -> Count<Self>where
Self: Sized,
fn sum<B>(self) -> Sum<Self, B>
fn mean(self) -> Mean<Self>
fn stddev(self) -> StdDev<Self>
fn combine<F>(self, f: F) -> Combine<Self, F>where
F: FnMut(Self::Output, Self::Output) -> Self::Output + Clone + ProcessSend + 'static,
Self::Output: ProcessSend + 'static,
Self: Sized,
fn max(self) -> Max<Self>
fn max_by<F>(self, f: F) -> MaxBy<Self, F>where
F: FnMut(&Self::Output, &Self::Output) -> Ordering + Clone + ProcessSend + 'static,
Self::Output: ProcessSend + 'static,
Self: Sized,
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F>where
F: FnMut(&Self::Output) -> B + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Output: ProcessSend + 'static,
Self: Sized,
fn min(self) -> Min<Self>
fn min_by<F>(self, f: F) -> MinBy<Self, F>where
F: FnMut(&Self::Output, &Self::Output) -> Ordering + Clone + ProcessSend + 'static,
Self::Output: ProcessSend + 'static,
Self: Sized,
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F>where
F: FnMut(&Self::Output) -> B + Clone + ProcessSend + 'static,
B: Ord + 'static,
Self::Output: ProcessSend + 'static,
Self: Sized,
fn most_frequent( self, n: usize, probability: f64, tolerance: f64, ) -> MostFrequent<Self>
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64,
) -> MostDistinct<Self>where
Self: DistributedPipe<Input, Output = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend + 'static,
B: Hash + 'static,
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self>
fn all<F>(self, f: F) -> All<Self, F>
fn any<F>(self, f: F) -> Any<Self, F>
fn collect<B>(self) -> Collect<Self, B>
Source§impl<'a, P, Input, T> ParallelPipe<&'a Input> for Cloned<P, T, Input>
impl<'a, P, Input, T> ParallelPipe<&'a Input> for Cloned<P, T, Input>
type Output = T
type Task = ClonedTask<<P as ParallelPipe<&'a Input>>::Task>
fn task(&self) -> Self::Task
fn inspect<F>(self, f: F) -> Inspect<Self, F>
fn update<F>(self, f: F) -> Update<Self, F>
fn map<B, F>(self, f: F) -> Map<Self, F>
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F>
fn filter<F>(self, f: F) -> Filter<Self, F>
fn cloned<'a, T>(self) -> Cloned<Self, T, Input>
fn left_join<K, V1, V2>( self, right: impl IntoIterator<Item = (K, V2)>, ) -> LeftJoin<Self, K, V1, V2>
fn inner_join<K, V1, V2>( self, right: impl IntoIterator<Item = (K, V2)>, ) -> InnerJoin<Self, K, V1, V2>
fn pipe<S>(self, sink: S) -> Pipe<Self, S>
fn fork<A, B, RefAItem>( self, sink: A, sink_ref: B, ) -> Fork<Self, A, B, &'static Self::Output>
fn for_each<F>(self, f: F) -> ForEach<Self, F>
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B>
fn group_by<S, A, B>(self, sink: S) -> GroupBy<Self, S>
fn histogram(self) -> Histogram<Self>
fn sort_n_by<F>(self, n: usize, cmp: F) -> Sort<Self, F>
fn count(self) -> Count<Self>where
Self: Sized,
fn sum<B>(self) -> Sum<Self, B>
fn mean(self) -> Mean<Self>
fn stddev(self) -> StdDev<Self>
fn combine<F>(self, f: F) -> Combine<Self, F>
fn max(self) -> Max<Self>
fn max_by<F>(self, f: F) -> MaxBy<Self, F>
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F>
fn min(self) -> Min<Self>
fn min_by<F>(self, f: F) -> MinBy<Self, F>
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F>
fn most_frequent( self, n: usize, probability: f64, tolerance: f64, ) -> MostFrequent<Self>
fn most_distinct<A, B>( self, n: usize, probability: f64, tolerance: f64, error_rate: f64, ) -> MostDistinct<Self>
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self>
fn all<F>(self, f: F) -> All<Self, F>
fn any<F>(self, f: F) -> Any<Self, F>
fn collect<B>(self) -> Collect<Self, B>
Auto Trait Implementations§
impl<P, T, Input> Freeze for Cloned<P, T, Input>where
P: Freeze,
impl<P, T, Input> RefUnwindSafe for Cloned<P, T, Input>where
P: RefUnwindSafe,
impl<P, T, Input> Send for Cloned<P, T, Input>where
P: Send,
impl<P, T, Input> Sync for Cloned<P, T, Input>where
P: Sync,
impl<P, T, Input> Unpin for Cloned<P, T, Input>where
P: Unpin,
impl<P, T, Input> UnsafeUnpin for Cloned<P, T, Input>where
P: UnsafeUnpin,
impl<P, T, Input> UnwindSafe for Cloned<P, T, Input>where
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more