Trait batch_processing::sync::job::job_builder::JobBuilderTrait
source · pub trait JobBuilderTrait {
// Required methods
fn validate(self) -> Self;
fn step(self, step: SyncStep) -> Self;
fn multi_threaded(self, max_threads: usize) -> Self;
fn get(name: String) -> Self;
fn build(self) -> Job;
}Expand description
A trait for building synchronous jobs.
Required Methods§
sourcefn validate(self) -> Self
fn validate(self) -> Self
Validates the builder configuration.
§Returns
Returns a modified builder instance if validation succeeds.
sourcefn multi_threaded(self, max_threads: usize) -> Self
fn multi_threaded(self, max_threads: usize) -> Self
Object Safety§
This trait is not object safe.