Skip to main content

ResultPayload

Type Alias ResultPayload 

Source
pub type ResultPayload = TaskResult<Value>;
Expand description

Serialized result payload including the current attempt and status

Aliased Type§

pub struct ResultPayload {
    pub task_id: TaskId,
    pub attempt: usize,
    pub status: Status,
    pub result: Result<Value, String>,
}

Fields§

§task_id: TaskId

The unique identifier of the task

§attempt: usize

The most recent result

§status: Status

The status of the task

§result: Result<Value, String>

The result of the task execution