pub struct WorkerTaskRecord {Show 16 fields
pub task_id: String,
pub kind: WorkerKind,
pub source_scope: String,
pub evidence_id: Option<String>,
pub target_graph_version: GraphVersion,
pub state: WorkerTaskState,
pub lease_owner: Option<String>,
pub lease_expires_at_ms: Option<u64>,
pub attempt_count: u32,
pub next_retry_at_ms: u64,
pub input_fingerprint: String,
pub payload_json: String,
pub last_error_kind: Option<String>,
pub last_error_message: Option<String>,
pub created_at_ms: u64,
pub updated_at_ms: u64,
}Expand description
Persistent worker task used by service, CLI, Web, and recovery diagnostics.
Fields§
§task_id: String§kind: WorkerKind§source_scope: String§evidence_id: Option<String>§target_graph_version: GraphVersion§state: WorkerTaskState§lease_owner: Option<String>§lease_expires_at_ms: Option<u64>§attempt_count: u32§next_retry_at_ms: u64§input_fingerprint: String§payload_json: String§last_error_kind: Option<String>§last_error_message: Option<String>§created_at_ms: u64§updated_at_ms: u64Trait Implementations§
Source§impl Clone for WorkerTaskRecord
impl Clone for WorkerTaskRecord
Source§fn clone(&self) -> WorkerTaskRecord
fn clone(&self) -> WorkerTaskRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkerTaskRecord
impl Debug for WorkerTaskRecord
Source§impl<'de> Deserialize<'de> for WorkerTaskRecord
impl<'de> Deserialize<'de> for WorkerTaskRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkerTaskRecord
Source§impl PartialEq for WorkerTaskRecord
impl PartialEq for WorkerTaskRecord
Source§impl Serialize for WorkerTaskRecord
impl Serialize for WorkerTaskRecord
impl StructuralPartialEq for WorkerTaskRecord
Auto Trait Implementations§
impl Freeze for WorkerTaskRecord
impl RefUnwindSafe for WorkerTaskRecord
impl Send for WorkerTaskRecord
impl Sync for WorkerTaskRecord
impl Unpin for WorkerTaskRecord
impl UnsafeUnpin for WorkerTaskRecord
impl UnwindSafe for WorkerTaskRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.