pub trait ExecutableTaskRecord<Kind>: TaskRecord<Kind> {
// Required methods
fn attempt_count(&self) -> i32;
fn max_attempts(&self) -> i32;
}Expand description
Minimal read-only view required to execute a claimed task.
Required Methods§
Sourcefn attempt_count(&self) -> i32
fn attempt_count(&self) -> i32
Number of attempts already persisted before the current execution.
Sourcefn max_attempts(&self) -> i32
fn max_attempts(&self) -> i32
Maximum number of attempts allowed for automatic retry.