pub struct PipelineBuilder<S> { /* private fields */ }Expand description
A utility for assembling Step implementations into a linear chain.
Implementations§
Source§impl<S> PipelineBuilder<S>where
S: Step,
impl<S> PipelineBuilder<S>where
S: Step,
Sourcepub fn add_stage<A>(self, action: A) -> PipelineBuilder<PipelineStep<S, A>>
pub fn add_stage<A>(self, action: A) -> PipelineBuilder<PipelineStep<S, A>>
Appends a new stage to the end of the current pipeline.
Sourcepub fn add_map<F, O>(
self,
f: F,
) -> PipelineBuilder<PipelineStep<S, ClosureStep<F, S::Output, O>>>
pub fn add_map<F, O>( self, f: F, ) -> PipelineBuilder<PipelineStep<S, ClosureStep<F, S::Output, O>>>
Appends a closure-based transformation to the pipeline.
Auto Trait Implementations§
impl<S> Freeze for PipelineBuilder<S>where
S: Freeze,
impl<S> RefUnwindSafe for PipelineBuilder<S>where
S: RefUnwindSafe,
impl<S> Send for PipelineBuilder<S>where
S: Send,
impl<S> Sync for PipelineBuilder<S>where
S: Sync,
impl<S> Unpin for PipelineBuilder<S>where
S: Unpin,
impl<S> UnsafeUnpin for PipelineBuilder<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for PipelineBuilder<S>where
S: 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