pub struct AdvancedPipelineBuilder<T> { /* private fields */ }Expand description
Builder for creating advanced pipelines
Implementations§
Source§impl<T> AdvancedPipelineBuilder<T>
impl<T> AdvancedPipelineBuilder<T>
pub fn new() -> Self
pub fn with_cache_config(self, cache_config: CacheConfig) -> Self
pub fn with_error_strategy(self, strategy: ErrorHandlingStrategy) -> Self
pub fn add_step(self, transformer: T) -> Self
pub fn add_conditional_step(self, config: ConditionalStepConfig<T>) -> Self
pub fn add_parallel_branches( self, config: ParallelBranchConfig<T>, ) -> Result<Self>
pub fn add_cached_step(self, transformer: T, cache_key_prefix: String) -> Self
pub fn add_streaming_step<S>(self, transformer: S, name: String) -> Self
pub fn build(self) -> AdvancedPipeline<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for AdvancedPipelineBuilder<T>
impl<T> !RefUnwindSafe for AdvancedPipelineBuilder<T>
impl<T> Send for AdvancedPipelineBuilder<T>where
T: Send,
impl<T> Sync for AdvancedPipelineBuilder<T>where
T: Sync,
impl<T> Unpin for AdvancedPipelineBuilder<T>where
T: Unpin,
impl<T> !UnwindSafe for AdvancedPipelineBuilder<T>
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<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