pub struct ComplexStepBuilder<I: Sized, O: Sized> { /* private fields */ }
Expand description
A builder struct for constructing complex synchronous steps.
Trait Implementations§
Source§impl<I: Sized + 'static, O: Sized + 'static> ComplexStepBuilderTrait<I, O> for ComplexStepBuilder<I, O>
impl<I: Sized + 'static, O: Sized + 'static> ComplexStepBuilderTrait<I, O> for ComplexStepBuilder<I, O>
Source§fn reader(
self,
reader: Box<dyn Fn() -> Box<dyn Iterator<Item = I>> + Send>,
) -> Self
fn reader( self, reader: Box<dyn Fn() -> Box<dyn Iterator<Item = I>> + Send>, ) -> Self
Sets the reader function for the step. Read more
Source§fn processor(
self,
processor: Box<dyn Fn() -> Box<dyn Fn(I) -> O> + Send>,
) -> Self
fn processor( self, processor: Box<dyn Fn() -> Box<dyn Fn(I) -> O> + Send>, ) -> Self
Sets the processor function for the step. Read more
Source§fn writer(self, writer: Box<dyn Fn() -> Box<dyn Fn(&Vec<O>)> + Send>) -> Self
fn writer(self, writer: Box<dyn Fn() -> Box<dyn Fn(&Vec<O>)> + Send>) -> Self
Sets the writer function for the step. Read more
Source§fn chunk_size(self, chunk_size: usize) -> Self
fn chunk_size(self, chunk_size: usize) -> Self
Sets the chunk size for processing data in chunks. Read more
Source§impl<I: Sized + 'static, O: Sized + 'static> StepBuilderTrait for ComplexStepBuilder<I, O>where
Self: Sized,
impl<I: Sized + 'static, O: Sized + 'static> StepBuilderTrait for ComplexStepBuilder<I, O>where
Self: Sized,
Source§fn decider(self, decider: DeciderCallback) -> Self
fn decider(self, decider: DeciderCallback) -> Self
Source§fn throw_tolerant(self) -> Self
fn throw_tolerant(self) -> Self
Configures the step to be tolerant to thrown exceptions.
§Returns Self
Returns a modified builder instance.
Auto Trait Implementations§
impl<I, O> Freeze for ComplexStepBuilder<I, O>
impl<I, O> !RefUnwindSafe for ComplexStepBuilder<I, O>
impl<I, O> Send for ComplexStepBuilder<I, O>
impl<I, O> !Sync for ComplexStepBuilder<I, O>
impl<I, O> Unpin for ComplexStepBuilder<I, O>
impl<I, O> !UnwindSafe for ComplexStepBuilder<I, O>
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