pub enum Action {
Created,
Replaced,
Matched,
Preserved,
Drift,
Released,
}Expand description
What the landing does with one destination.
Variants§
Created
The destination is absent and the candidate is written.
Replaced
A recorded generated whole file or marked region is rewritten from the candidate, whatever its bytes were.
Matched
A whole-file destination the receipt does not name already holds the candidate’s bytes: nothing is written, and the receipt records it, because replacing identical bytes changes nothing and a run stopped after creating it must be rerunnable.
Preserved
A recorded seeded or state file stays as it is, its current digest entering the receipt.
Drift
A recorded seeded file stays and its bytes differ from the receipt: the target tuned it, which is what a seeded file is for.
Released
A recorded destination this binary no longer produces: left on disk, target-owned from this landing, out of the new receipt.
Implementations§
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.