pub struct BoardPending {
pub state: String,
pub kind: String,
pub reason: Option<String>,
pub failures: u32,
pub retry_at: Option<f64>,
pub agent: Option<String>,
pub station: Option<String>,
pub name: Option<String>,
pub at: Option<f64>,
pub placement: bool,
}Expand description
Where a Mission with no Run stands, as the Registry last said.
Fields§
§state: Stringqueued (waiting for a Station to start it) or failed (it failed before a harness
started).
kind: Stringunplaced (no Station has taken its brief), waiting (held back, with the reason),
retrying (a start failed and will be tried again), recovering (waiting to be resumed
after a restart), queued, or failed.
reason: Option<String>Why it waits, why its last start failed, or why it failed.
failures: u32Start tries that failed in a row.
retry_at: Option<f64>When the next try is due, as Unix seconds, while it waits out a backoff.
agent: Option<String>The Agent assigned, when there is one.
station: Option<String>The Station that holds it; absent for a brief no Station has taken.
name: Option<String>What to show beside its handle: the brief’s name.
at: Option<f64>When the Registry last said so, as Unix seconds.
placement: boolWhether it failed placement: no Agent could take its brief, so it never became a Mission.
Trait Implementations§
Source§impl Clone for BoardPending
impl Clone for BoardPending
Source§fn clone(&self) -> BoardPending
fn clone(&self) -> BoardPending
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more