pub struct AssignTask {Show 18 fields
pub attempt_id: String,
pub task_id: String,
pub map_index: i32,
pub try_number: u32,
pub run: Option<RunInfo>,
pub task_json: Vec<u8>,
pub dag_file: Option<DagFileRef>,
pub expected_code_hash: String,
pub inputs_json: Vec<u8>,
pub inputs_external: bool,
pub cancel_grace_ms: u64,
pub memory_budget_bytes: u64,
pub setrlimit: bool,
pub upstream_outcomes: HashMap<String, String>,
pub connections_json: Vec<u8>,
pub cleanup_only: Option<CleanupOnly>,
pub resource_cleanup: bool,
pub first_started: Option<Timestamp>,
}Fields§
§attempt_id: String§task_id: String§map_index: i32-1 for a task that isn’t mapped.
try_number: u32§run: Option<RunInfo>§task_json: Vec<u8>The task as schedr-model JSON (kind, command templates, arguments, settings).
dag_file: Option<DagFileRef>Where the DAG is defined (Python tasks import it; it also locates relative paths).
expected_code_hash: StringThe content hash the master expects; the worker reports what it actually ran.
inputs_json: Vec<u8>The upstream outputs the task uses, as JSON; empty if fetched with FetchInputs.
inputs_external: bool§cancel_grace_ms: u64§memory_budget_bytes: u64§setrlimit: bool§upstream_outcomes: HashMap<String, String>The outcomes of the upstream tasks the task uses, by task ID; “” for one that was skipped (its edges count as not taken: a reference to it stands for null).
connections_json: Vec<u8>The connections of the task’s root (decision 174), as schedr-model Registry JSON: the agent renders one when the task opens it. Empty: none.
cleanup_only: Option<CleanupOnly>Only the cleanup of an attempt whose worker was lost (decision 243), with its handles.
resource_cleanup: boolThe task is a resource’s cleanup: without a timeout of its own, it gets the worker’s
resource_cleanup_timeout (it isn’t cancelled with its run, decision 277).
first_started: Option<Timestamp>When the task’s first try started, for a wait step tried again: delay counts from it
(M4.11g). Unset on its first try, which counts from its own start.
Trait Implementations§
Source§impl Clone for AssignTask
impl Clone for AssignTask
Source§fn clone(&self) -> AssignTask
fn clone(&self) -> AssignTask
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AssignTask
impl Debug for AssignTask
Source§impl Default for AssignTask
impl Default for AssignTask
Source§impl Message for AssignTask
impl Message for AssignTask
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for AssignTask
impl PartialEq for AssignTask
impl StructuralPartialEq for AssignTask
Auto Trait Implementations§
impl Freeze for AssignTask
impl RefUnwindSafe for AssignTask
impl Send for AssignTask
impl Sync for AssignTask
impl Unpin for AssignTask
impl UnsafeUnpin for AssignTask
impl UnwindSafe for AssignTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].