pub enum FileChangeKind {
Created,
Modified,
Deleted,
}Expand description
The type of file change.
Variants§
Created
A file was created (new file appeared).
Modified
A file was modified (mtime changed).
Deleted
A file was deleted (previously tracked file is gone).
Trait Implementations§
Source§impl Clone for FileChangeKind
impl Clone for FileChangeKind
Source§fn clone(&self) -> FileChangeKind
fn clone(&self) -> FileChangeKind
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 FileChangeKind
impl Debug for FileChangeKind
Source§impl PartialEq for FileChangeKind
impl PartialEq for FileChangeKind
impl Eq for FileChangeKind
impl StructuralPartialEq for FileChangeKind
Auto Trait Implementations§
impl Freeze for FileChangeKind
impl RefUnwindSafe for FileChangeKind
impl Send for FileChangeKind
impl Sync for FileChangeKind
impl Unpin for FileChangeKind
impl UnsafeUnpin for FileChangeKind
impl UnwindSafe for FileChangeKind
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