Enum notify::event::RenameMode [−][src]
pub enum RenameMode { Any, To, From, Both, Other, }
Expand description
An event emitted when the name of a file or folder is changed.
Variants
The catch-all case, to be used when the specific kind of event is unknown.
An event emitted on the file or folder resulting from a rename.
An event emitted on the file or folder that was renamed.
A single event emitted with both the From
and To
paths.
This event should be emitted when both source and target are known. The paths should be provided in this exact order (from, to).
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RenameMode
impl Send for RenameMode
impl Sync for RenameMode
impl Unpin for RenameMode
impl UnwindSafe for RenameMode
Blanket Implementations
Mutably borrows from an owned value. Read more