pub struct PipelineBuilder { /* private fields */ }Expand description
Builder for constructing pipelines.
Implementations§
Source§impl PipelineBuilder
impl PipelineBuilder
Sourcepub fn new(name: impl Into<String>) -> PipelineBuilder
pub fn new(name: impl Into<String>) -> PipelineBuilder
Create a new pipeline builder with the given name.
Sourcepub fn stage(self, name: impl Into<String>) -> PipelineStageBuilder
pub fn stage(self, name: impl Into<String>) -> PipelineStageBuilder
Add a stage using the fluent builder API.
Returns a StageBuilder that will add the stage when build_stage() is called.
Sourcepub fn add_stage(self, stage: Stage) -> PipelineBuilder
pub fn add_stage(self, stage: Stage) -> PipelineBuilder
Add a pre-built stage.
Sourcepub fn continue_on_failure(self) -> PipelineBuilder
pub fn continue_on_failure(self) -> PipelineBuilder
Disable stop-on-failure behavior.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineBuilder
impl RefUnwindSafe for PipelineBuilder
impl Send for PipelineBuilder
impl Sync for PipelineBuilder
impl Unpin for PipelineBuilder
impl UnsafeUnpin for PipelineBuilder
impl UnwindSafe for PipelineBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more