Enum notify::event::Flag [−][src]
pub enum Flag { Rescan, }
Expand description
Special Notify flag on the event.
This attribute is used to flag certain kinds of events that Notify either marks or generates in particular ways.
Variants
Rescan notices are emitted by some platforms (and may also be emitted by Notify itself). They indicate either a lapse in the events or a change in the filesystem such that events received so far can no longer be relied on to represent the state of the filesystem now.
An application that simply reacts to file changes may not care about this. An application that keeps an in-memory representation of the filesystem will need to care, and will need to refresh that representation directly from the filesystem.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Flag
impl UnwindSafe for Flag
Blanket Implementations
Mutably borrows from an owned value. Read more