pub enum ChangeKind {
Created,
Modified,
Copied,
Moved,
Removed,
Trashed,
Restored,
Purged,
AttributeSet,
AttributeRemoved,
}Expand description
The stable category of a committed filesystem change.
Variants§
Created
A node was created.
Modified
Node metadata or regular-file contents changed.
Copied
A node was copied to a new path.
Moved
A node moved to a new path.
Removed
A node was permanently removed.
Trashed
A node entered recoverable trash.
Restored
A node was restored from trash.
Purged
A trash record was permanently purged.
AttributeSet
A custom attribute was set.
AttributeRemoved
A custom attribute was removed.
Trait Implementations§
Source§impl Clone for ChangeKind
impl Clone for ChangeKind
Source§fn clone(&self) -> ChangeKind
fn clone(&self) -> ChangeKind
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 ChangeKind
Source§impl Debug for ChangeKind
impl Debug for ChangeKind
Source§impl<'de> Deserialize<'de> for ChangeKind
impl<'de> Deserialize<'de> for ChangeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChangeKind
Source§impl PartialEq for ChangeKind
impl PartialEq for ChangeKind
Source§impl Serialize for ChangeKind
impl Serialize for ChangeKind
impl StructuralPartialEq for ChangeKind
Auto Trait Implementations§
impl Freeze for ChangeKind
impl RefUnwindSafe for ChangeKind
impl Send for ChangeKind
impl Sync for ChangeKind
impl Unpin for ChangeKind
impl UnsafeUnpin for ChangeKind
impl UnwindSafe for ChangeKind
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