Skip to main content

ProjectedJoinTarget

Trait ProjectedJoinTarget 

Source
pub trait ProjectedJoinTarget<S, Out, Src, F, Sc: Score>
where Src: Source<S, Out>, F: UniFilter<S, Out>,
{ type Output; // Required method fn apply(self, source: Src, filter: F) -> Self::Output; }
Expand description

Joiner accepted by Stream::join: equal(key) builds a symmetric Bi, equal_bi(left, right) a DirectedBi.

Required Associated Types§

Source

type Output

The joined stream type.

Required Methods§

Source

fn apply(self, source: Src, filter: F) -> Self::Output

Builds the joined stream from the projected source and its filter.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S, Out, Src, F, K, KF, Sc> ProjectedJoinTarget<S, Out, Src, F, Sc> for EqualJoiner<KF, KF, K, Symmetric>
where S: Send + Sync + 'static, Out: Send + Sync + 'static, Src: Source<S, Out>, F: UniFilter<S, Out>, K: Eq + Hash + Send + Sync + 'static, KF: Fn(&Out) -> K + Send + Sync, Sc: Score + 'static,

Source§

type Output = Bi<S, Out, K, Src, F, KF, TrueFilter, Sc>

Source§

impl<S, Out, Src, F, K, KL, KR, Sc> ProjectedJoinTarget<S, Out, Src, F, Sc> for EqualJoiner<KL, KR, K, Directed>
where S: Send + Sync + 'static, Out: Send + Sync + 'static, Src: Source<S, Out>, F: UniFilter<S, Out>, K: Eq + Hash + Send + Sync + 'static, KL: Fn(&Out) -> K + Send + Sync, KR: Fn(&Out) -> K + Send + Sync, Sc: Score + 'static,

Source§

type Output = DirectedBi<S, Out, K, Src, F, KL, KR, TrueFilter, Sc>