pub enum ArtifactResult {
Written {
agent: AgentId,
path: PathBuf,
},
Unchanged {
agent: AgentId,
path: PathBuf,
},
Skipped {
agent: AgentId,
reason: &'static str,
},
Failed {
agent: AgentId,
error: RepographError,
},
}Expand description
Per-agent outcome of an install. The orchestrator returns one of these per input agent in selection order.
RepographError is not Clone, so this enum is Debug-only on purpose.
Variants§
Written
File was created or its delimited block was rewritten.
Unchanged
File already exists with a delimited block whose body is byte-identical to the canonical content; no I/O write occurred.
Skipped
Agent has no writer (today: only Copilot); the install layer skipped
it with no file write attempted.
Failed
Per-agent failure (read or write I/O error). Reported on stderr; does not abort the surrounding run.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ArtifactResult
impl !UnwindSafe for ArtifactResult
impl Freeze for ArtifactResult
impl Send for ArtifactResult
impl Sync for ArtifactResult
impl Unpin for ArtifactResult
impl UnsafeUnpin for ArtifactResult
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