pub struct JobBuilder { /* private fields */ }
Expand description
A builder struct for constructing synchronous jobs.
Trait Implementations§
Source§impl JobBuilderTrait for JobBuilder
impl JobBuilderTrait for JobBuilder
Source§fn validate(self) -> Self
fn validate(self) -> Self
Validates the builder configuration by ensuring at least one step is added to the job.
§Returns Self
Returns a modified builder instance if validation succeeds.
Source§fn multi_threaded(self, max_threads: usize) -> Self
fn multi_threaded(self, max_threads: usize) -> Self
Auto Trait Implementations§
impl Freeze for JobBuilder
impl !RefUnwindSafe for JobBuilder
impl Send for JobBuilder
impl !Sync for JobBuilder
impl Unpin for JobBuilder
impl !UnwindSafe for JobBuilder
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