pub trait Pipe<I, O, E = NeverErr, R = I> {
// Required method
fn apply(&mut self, input: I) -> Result<R, O, E>;
}Expand description
Combinator trait
Required Methods§
Implementations on Foreign Types§
Implementors§
impl<'a, I, O, E, R> Pipe<I, O, E, R> for BoxedPipe<'a, I, O, E, R>
impl<I, I2, O, E, P> Pipe<I, (), E, I2> for Skip<P, O>where
P: Pipe<I, O, E, I2>,
impl<I, O, E, E2, R, P, F> Pipe<I, O, E2, R> for MapErr<P, F, E>
impl<I, O, E, P> Pipe<I, (Option<<O as Unpack>::Output>,), E> for Opt<P, O>
impl<I, O, E, P> Pipe<I, (Vec<<O as Unpack>::Output>,), E> for RepeatPipe<P, O>
impl<I, O, E, R, F> Pipe<I, O, E, R> for F
a pipe is implemented for all closures with the same signature