pub enum AppliedChange {
SymlinkCreated {
entry_id: String,
dest: PathBuf,
source: PathBuf,
link_mode: SymlinkLinkMode,
},
SymlinkReplaced {
entry_id: String,
dest: PathBuf,
source: PathBuf,
link_mode: SymlinkLinkMode,
},
FileBackedUpThenSymlinked {
entry_id: String,
dest: PathBuf,
source: PathBuf,
link_mode: SymlinkLinkMode,
backup: PathBuf,
},
ManagedBlockApplied {
entry_id: String,
config_file: PathBuf,
},
NoOp {
entry_id: String,
dest: PathBuf,
},
}Expand description
Single applied change. The dry-run printer also emits a list of these
(without running them) so the user sees exactly what --apply would
do.
Variants§
Trait Implementations§
Source§impl Clone for AppliedChange
impl Clone for AppliedChange
Source§impl Debug for AppliedChange
impl Debug for AppliedChange
impl Eq for AppliedChange
Source§impl PartialEq for AppliedChange
impl PartialEq for AppliedChange
impl StructuralPartialEq for AppliedChange
Auto Trait Implementations§
impl Freeze for AppliedChange
impl RefUnwindSafe for AppliedChange
impl Send for AppliedChange
impl Sync for AppliedChange
impl Unpin for AppliedChange
impl UnsafeUnpin for AppliedChange
impl UnwindSafe for AppliedChange
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§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.