pub enum BuildOutcome {
Deduplicated,
Compiled,
Failed {
reason: String,
},
}Expand description
What the build/CAS layer did with a BuildTrigger.
Variants§
Deduplicated
The input set was already in the CAS — no compile ran. This variant existing and being observable is what proves AC#5.
Compiled
A fresh compile produced the artifact.
Failed
The build failed despite a green verdict (e.g. a toolchain/link error
the analyzer cannot see). The server keeps serving last-green; the
reason is a human-readable one-liner for the CLI/log, not a structured
diagnostic (kept dependency-free and v0-simple, like FileState).
Implementations§
Source§impl BuildOutcome
impl BuildOutcome
Sourcepub fn is_servable(&self) -> bool
pub fn is_servable(&self) -> bool
Did this outcome yield a servable artifact?
Trait Implementations§
Source§impl Clone for BuildOutcome
impl Clone for BuildOutcome
Source§fn clone(&self) -> BuildOutcome
fn clone(&self) -> BuildOutcome
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 BuildOutcome
impl Debug for BuildOutcome
impl Eq for BuildOutcome
Source§impl PartialEq for BuildOutcome
impl PartialEq for BuildOutcome
impl StructuralPartialEq for BuildOutcome
Auto Trait Implementations§
impl Freeze for BuildOutcome
impl RefUnwindSafe for BuildOutcome
impl Send for BuildOutcome
impl Sync for BuildOutcome
impl Unpin for BuildOutcome
impl UnsafeUnpin for BuildOutcome
impl UnwindSafe for BuildOutcome
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