[][src]Enum notify::event::Flag

pub enum Flag {
    Notice,
    Ongoing,
    Rescan,
}

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

Notice

Event notices are emitted by debounced watchers immediately after the first event of that kind is received on a path to indicate activity to a path within the interval of a debounce.

Ongoing

Ongoing event notices are emitted by debounced watchers on a higher frequency than the debouncing delay to indicate ongoing activity to a path within the interval of a debounce.

Ongoing event notices are a runtime option and are disabled by default.

Rescan

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

impl Clone for Flag[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for Flag[src]

impl PartialEq<Flag> for Flag[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Hash for Flag[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Flag[src]

Auto Trait Implementations

impl Sync for Flag

impl Unpin for Flag

impl Send for Flag

impl RefUnwindSafe for Flag

impl UnwindSafe for Flag

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> Erased for T