pub trait PipeExt: Pipe + Sized {
// Provided methods
fn and_then<Next>(self, next: Next) -> AndThen<Self, Next>
where Next: Pipe<In = Self::Out>,
Next::Err: From<Self::Err> { ... }
fn filter<Pred>(self, predicate: Pred) -> AndThen<Pred, Self>
where Pred: Pipe<Out = Self::In>,
Self::Err: From<Pred::Err> { ... }
fn fanout(self, other: Self) -> FanOut<Self, AllOrNothing>
where Self: Clone,
Self::In: Clone { ... }
fn fanin<Strategy>(
self,
other: Self,
strategy: Strategy,
) -> FanIn<Self, Strategy, 2>
where Self: UnpinPipe<In = (), Err = Exhausted> + DropSafe,
Strategy: FanInStrategy { ... }
}Expand description
Fluent sugar over the root Pipe. See the module doc for what each
method builds.
Provided Methods§
Sourcefn and_then<Next>(self, next: Next) -> AndThen<Self, Next>
fn and_then<Next>(self, next: Next) -> AndThen<Self, Next>
self.and_then(next) is AndThen::new(self, next) — reads
left-to-right at the call site.
Sourcefn fanout(self, other: Self) -> FanOut<Self, AllOrNothing>
fn fanout(self, other: Self) -> FanOut<Self, AllOrNothing>
Broadcast to self and other, all-or-nothing.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".