pub trait TaskBuilderExt {
// Required methods
fn max_attempts(self, attempts: u32) -> Self;
fn priority(self, priority: i32) -> Self;
}Expand description
Extension traits for TaskBuilder
Required Methods§
Sourcefn max_attempts(self, attempts: u32) -> Self
fn max_attempts(self, attempts: u32) -> Self
Set the max number of attempts for the task being built.
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.