pub struct BuildResult {
pub outcome: BuildOutcome,
pub artifact: Option<ArtifactMeta>,
}Expand description
Returned by the build/CAS layer for each BuildTrigger; consumed by the
daemon (logging/state) and the dev server (reload decision — decisions
D3 WebSocket signaling and D5 full-reload-not-hot-swap govern how
the browser is told, not this contract).
Fields§
§outcome: BuildOutcome§artifact: Option<ArtifactMeta>Present iff BuildOutcome::is_servable — the artifact the server may
now advance to. None on Failed, where the server holds last-green.
Trait Implementations§
Source§impl Clone for BuildResult
impl Clone for BuildResult
Source§fn clone(&self) -> BuildResult
fn clone(&self) -> BuildResult
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 BuildResult
impl Debug for BuildResult
impl Eq for BuildResult
Source§impl PartialEq for BuildResult
impl PartialEq for BuildResult
impl StructuralPartialEq for BuildResult
Auto Trait Implementations§
impl Freeze for BuildResult
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnsafeUnpin for BuildResult
impl UnwindSafe for BuildResult
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