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 marked region, or a recorded rendered whole file whose bytes the record vouches for and the candidate changes, is rewritten from the candidate.
Matched
A whole-file destination already holds the candidate’s bytes: nothing is written, and the receipt records it. A recorded rendered file the landing leaves byte for byte is matched, not replaced, and an unrecorded one is attributed by its content, because 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 Forget for Action
impl Freeze for Action
impl Move 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.