pub enum FileChangesStatus {
Unchanged,
UnchangedIgnored,
Overwritten,
NewFile(PathBuf),
Modified,
Deleted,
DeletedIgnored,
}
Variants§
Unchanged
Status to mark unchanged file contents
UnchangedIgnored
Status to mark unchanged files, because of some ignore rule (like FileMode::None)
Overwritten
Status to mark overwritten file contents
NewFile(PathBuf)
Status to mark a “.dsyncnew” file being generated and the path to the original file
Modified
Status to mark file contents to be modified
Deleted
Status if the file has been deleted
DeletedIgnored
Status if the file should be deleted, but is not because of some ignore rule (like FileMode::None)
Trait Implementations§
source§impl Clone for FileChangesStatus
impl Clone for FileChangesStatus
source§fn clone(&self) -> FileChangesStatus
fn clone(&self) -> FileChangesStatus
Returns a copy 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 FileChangesStatus
impl Debug for FileChangesStatus
source§impl Display for FileChangesStatus
impl Display for FileChangesStatus
source§impl PartialEq<FileChangesStatus> for FileChangesStatus
impl PartialEq<FileChangesStatus> for FileChangesStatus
source§fn eq(&self, other: &FileChangesStatus) -> bool
fn eq(&self, other: &FileChangesStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FileChangesStatus
impl StructuralEq for FileChangesStatus
impl StructuralPartialEq for FileChangesStatus
Auto Trait Implementations§
impl RefUnwindSafe for FileChangesStatus
impl Send for FileChangesStatus
impl Sync for FileChangesStatus
impl Unpin for FileChangesStatus
impl UnwindSafe for FileChangesStatus
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