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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.