pub enum RebuildStatus {
Completed,
Started,
Coalesced,
Rejected,
}Expand description
Status of a daemon/rebuild invocation (cluster-G §2.4).
Distinguishes the four outcomes the dispatcher can produce so a
--timeout 0 (fire-and-forget) caller can distinguish “started in
the background” from “actually completed in this call”. Pre-§2.4
callers received only the Completed shape and a missing field
here is interpreted as Completed for backward compatibility.
Variants§
Completed
The rebuild ran to completion in this call. duration_ms,
nodes, edges, files_indexed, and was_full are all
populated.
Started
--timeout 0 (fire-and-forget): the runner-role was acquired
and the rebuild is running in the background. The stat fields
are absent. The caller should poll daemon/status to observe
completion.
Coalesced
Another runner is active; this request was coalesced into the pending lane. The stat fields reflect the runner’s previous publish if known, or are absent.
Rejected
Reservation failed before the pipeline started (e.g.
MemoryBudgetExceeded, WorkspaceOversize). The stat fields
are absent.
Trait Implementations§
Source§impl Clone for RebuildStatus
impl Clone for RebuildStatus
Source§fn clone(&self) -> RebuildStatus
fn clone(&self) -> RebuildStatus
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 RebuildStatus
impl Debug for RebuildStatus
Source§impl Default for RebuildStatus
impl Default for RebuildStatus
Source§fn default() -> RebuildStatus
fn default() -> RebuildStatus
Source§impl<'de> Deserialize<'de> for RebuildStatus
impl<'de> Deserialize<'de> for RebuildStatus
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>,
Source§impl PartialEq for RebuildStatus
impl PartialEq for RebuildStatus
Source§fn eq(&self, other: &RebuildStatus) -> bool
fn eq(&self, other: &RebuildStatus) -> bool
self and other values to be equal, and is used by ==.