pub struct InProgressExecution {
pub execution_id: ExecutionId,
pub job_id: JobId,
pub executor_id: ExecutorId,
pub target_execution_time: SystemTime,
pub started_at: SystemTime,
pub timeout_policy: TimeoutPolicy,
pub retry_policy: RetryPolicy,
pub attempt_number: u64,
}Expand description
An execution that is currently in progress.
Fields§
§execution_id: ExecutionIdThe execution ID.
job_id: JobIdThe job ID.
executor_id: ExecutorIdThe executor ID handling the execution.
target_execution_time: SystemTimeThe target execution time for the execution.
started_at: SystemTimeThe time the execution was assigned to the executor.
timeout_policy: TimeoutPolicyThe timeout policy of the job this execution belongs to.
retry_policy: RetryPolicyThe retry policy of the job this execution belongs to.
attempt_number: u64The attempt number of the execution.
The first attempt is 1.
Auto Trait Implementations§
impl Freeze for InProgressExecution
impl RefUnwindSafe for InProgressExecution
impl Send for InProgressExecution
impl Sync for InProgressExecution
impl Unpin for InProgressExecution
impl UnwindSafe for InProgressExecution
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