pub struct Extend<P, F, I, O1, O2> { /* private fields */ }Trait Implementations§
Auto Trait Implementations§
impl<P, F, I, O1, O2> Freeze for Extend<P, F, I, O1, O2>
impl<P, F, I, O1, O2> RefUnwindSafe for Extend<P, F, I, O1, O2>
impl<P, F, I, O1, O2> Send for Extend<P, F, I, O1, O2>
impl<P, F, I, O1, O2> Sync for Extend<P, F, I, O1, O2>
impl<P, F, I, O1, O2> Unpin for Extend<P, F, I, O1, O2>
impl<P, F, I, O1, O2> UnsafeUnpin for Extend<P, F, I, O1, O2>where
P: UnsafeUnpin,
F: UnsafeUnpin,
impl<P, F, I, O1, O2> UnwindSafe for Extend<P, F, I, O1, O2>
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
Source§impl<F, I, O, Args> HandlerExt<I, O, Args> for Fwhere
F: Handler<I, O, Args>,
impl<F, I, O, Args> HandlerExt<I, O, Args> for Fwhere
F: Handler<I, O, Args>,
fn pipe(self) -> Pipe<Self, Args>where
Self: Sized,
Source§fn connect<O2, G, Args2>(
self,
g: G,
) -> Connect<Pipe<Self, Args>, Pipe<G, Args2>, I, O, O2>
fn connect<O2, G, Args2>( self, g: G, ) -> Connect<Pipe<Self, Args>, Pipe<G, Args2>, I, O, O2>
Connects two pipelines together. Output of the first becomes the input of the second. Read more
Source§fn pullback<I2, H, Args2>(
self,
handler: H,
) -> Pullback<Pipe<Self, Args>, Pipe<H, Args2>, I2, I, O>
fn pullback<I2, H, Args2>( self, handler: H, ) -> Pullback<Pipe<Self, Args>, Pipe<H, Args2>, I2, I, O>
Pulls back the domain of the pipeline.
This allows a pipeline defined on
I to be used for input I2 given a mapping I2 -> I.
The mapping function is now a full Handler (async, supports DI). Read moreSource§fn lift<I2>(
self,
) -> Pullback<Pipe<Self, Args>, Pipe<LiftHandler<I, I2>, (Input<I2>,)>, I2, I, O>
fn lift<I2>( self, ) -> Pullback<Pipe<Self, Args>, Pipe<LiftHandler<I, I2>, (Input<I2>,)>, I2, I, O>
Lifts the domain requirement to anything that can be converted into the original input.
Uses
From / Into trait. Read moreSource§fn extend<O2, F>(self, map: F) -> Extend<Pipe<Self, Args>, F, I, O, O2>
fn extend<O2, F>(self, map: F) -> Extend<Pipe<Self, Args>, F, I, O, O2>
Extends the output of the pipeline by applying a transformation. Read more