pub enum Outcome {
Native,
UpToDate {
via: Via,
},
Create {
via: Via,
},
Rewrite {
via: Via,
},
Relink {
via: Via,
current: LinkTarget,
},
Adopt {
via: Via,
},
Retire {
via: Via,
},
Skip(Skip),
Blocked(Blocked),
}Expand description
What the planner decided for one provider/resource pair.
Variants§
Native
The tool reads the canonical path directly. Nothing to do, now or ever.
UpToDate
Already materialised correctly.
Create
Nothing at the target: create it.
Rewrite
An import stub we own exists but its contents are stale.
Relink
A link we own points somewhere else: repoint it.
Adopt
The target holds the only copy of this content: move it into the canonical location, then link back. This is the onboarding path for an existing repo.
Retire
This provider is no longer served, and what we made for it is still ours: remove it and stop claiming it.
Skip(Skip)
Nothing to do, for a benign reason.
Blocked(Blocked)
Needs a human decision. Never resolved by guessing.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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