[][src]Enum gio::FileMonitorEvent

#[non_exhaustive]pub enum FileMonitorEvent {
    Changed,
    ChangesDoneHint,
    Deleted,
    Created,
    AttributeChanged,
    PreUnmount,
    Unmounted,
    Moved,
    Renamed,
    MovedIn,
    MovedOut,
    // some variants omitted
}

Specifies what type of event a monitor event is.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Changed

a file changed.

ChangesDoneHint

a hint that this was probably the last change in a set of changes.

Deleted

a file was deleted.

Created

a file was created.

AttributeChanged

a file attribute was changed.

PreUnmount

the file location will soon be unmounted.

Unmounted

the file location was unmounted.

Moved

the file was moved -- only sent if the (deprecated) FileMonitorFlags::SendMoved flag is set

Renamed

the file was renamed within the current directory -- only sent if the FileMonitorFlags::WatchMoves flag is set. Since: 2.46.

MovedIn

the file was moved into the monitored directory from another location -- only sent if the FileMonitorFlags::WatchMoves flag is set. Since: 2.46.

MovedOut

the file was moved out of the monitored directory to another location -- only sent if the FileMonitorFlags::WatchMoves flag is set. Since: 2.46

Trait Implementations

impl Clone for FileMonitorEvent[src]

impl Copy for FileMonitorEvent[src]

impl Debug for FileMonitorEvent[src]

impl Display for FileMonitorEvent[src]

impl Eq for FileMonitorEvent[src]

impl<'a> FromValue<'a> for FileMonitorEvent[src]

impl<'a> FromValueOptional<'a> for FileMonitorEvent[src]

impl Hash for FileMonitorEvent[src]

impl Ord for FileMonitorEvent[src]

impl PartialEq<FileMonitorEvent> for FileMonitorEvent[src]

impl PartialOrd<FileMonitorEvent> for FileMonitorEvent[src]

impl SetValue for FileMonitorEvent[src]

impl StaticType for FileMonitorEvent[src]

impl StructuralEq for FileMonitorEvent[src]

impl StructuralPartialEq for FileMonitorEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for FileMonitorEvent

impl Send for FileMonitorEvent

impl Sync for FileMonitorEvent

impl Unpin for FileMonitorEvent

impl UnwindSafe for FileMonitorEvent

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.