pub enum FileStatus {
Created,
Updated,
Unchanged,
WouldCreate,
WouldUpdate,
}Expand description
Status of a file operation.
Variants§
Created
File was newly created.
Updated
File existed and was updated with new content.
Unchanged
File existed and content was unchanged.
WouldCreate
Would be created (dry-run mode).
WouldUpdate
Would be updated (dry-run mode).
Trait Implementations§
Source§impl Clone for FileStatus
impl Clone for FileStatus
Source§fn clone(&self) -> FileStatus
fn clone(&self) -> FileStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileStatus
impl Debug for FileStatus
Source§impl Display for FileStatus
impl Display for FileStatus
Source§impl PartialEq for FileStatus
impl PartialEq for FileStatus
impl Copy for FileStatus
impl Eq for FileStatus
impl StructuralPartialEq for FileStatus
Auto Trait Implementations§
impl Freeze for FileStatus
impl RefUnwindSafe for FileStatus
impl Send for FileStatus
impl Sync for FileStatus
impl Unpin for FileStatus
impl UnsafeUnpin for FileStatus
impl UnwindSafe for FileStatus
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.