pub enum FileStatus {
Unchanged,
SafeToUpdate,
UserModified,
NewFile,
}Expand description
Status of a file in three-way comparison (cache vs current vs new)
Variants§
Unchanged
File unchanged: cache == current == new
SafeToUpdate
Safe to update: cache == current, but new is different
UserModified
User modified: cache != current (conflict!)
NewFile
New file not in cache
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 PartialEq for FileStatus
impl PartialEq 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