pub enum Action {
Copy {
src: PathBuf,
dst: PathBuf,
kind: EntryKind,
},
Conflict {
src: PathBuf,
dst: PathBuf,
kind: EntryKind,
},
}Expand description
What the engine intends to do for one (src, dst) pair.
Variants§
Copy
Destination does not exist — safe to write.
Fields
Conflict
Destination already exists. The caller decides what to do —
issue #15 (krypt link) will consult crate::manifest to
narrow content-matches into safe re-deploys.
Implementations§
Trait Implementations§
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
Mutably borrows from an owned value. Read more
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.