pub enum WizardFileChangeKind {
New,
Update,
Unchanged,
}Expand description
Outcome of comparing a planned file against what is already on disk.
Variants§
New
File does not yet exist and will be created.
Update
File exists with different content and will be overwritten.
Unchanged
File exists with identical content; no write needed.
Implementations§
Trait Implementations§
Source§impl Clone for WizardFileChangeKind
impl Clone for WizardFileChangeKind
Source§fn clone(&self) -> WizardFileChangeKind
fn clone(&self) -> WizardFileChangeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WizardFileChangeKind
Source§impl Debug for WizardFileChangeKind
impl Debug for WizardFileChangeKind
Source§impl Display for WizardFileChangeKind
impl Display for WizardFileChangeKind
impl Eq for WizardFileChangeKind
Source§impl PartialEq for WizardFileChangeKind
impl PartialEq for WizardFileChangeKind
Source§fn eq(&self, other: &WizardFileChangeKind) -> bool
fn eq(&self, other: &WizardFileChangeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WizardFileChangeKind
Auto Trait Implementations§
impl Freeze for WizardFileChangeKind
impl RefUnwindSafe for WizardFileChangeKind
impl Send for WizardFileChangeKind
impl Sync for WizardFileChangeKind
impl Unpin for WizardFileChangeKind
impl UnsafeUnpin for WizardFileChangeKind
impl UnwindSafe for WizardFileChangeKind
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.