Enum gio::FileMonitorEvent [−][src]
#[non_exhaustive] pub enum FileMonitorEvent { Changed, ChangesDoneHint, Deleted, Created, AttributeChanged, PreUnmount, Unmounted, Moved, Renamed, MovedIn, MovedOut, // some variants omitted }
Expand description
Specifies what type of event a monitor event is.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
a file changed.
a hint that this was probably the last change in a set of changes.
a file was deleted.
a file was created.
a file attribute was changed.
the file location will soon be unmounted.
the file location was unmounted.
the file was moved – only sent if the
(deprecated) FileMonitorFlags::SEND_MOVED
flag is set
the file was renamed within the
current directory – only sent if the FileMonitorFlags::WATCH_MOVES
flag is set. Since: 2.46.
the file was moved into the
monitored directory from another location – only sent if the
FileMonitorFlags::WATCH_MOVES
flag is set. Since: 2.46.
the file was moved out of the
monitored directory to another location – only sent if the
FileMonitorFlags::WATCH_MOVES
flag is set. Since: 2.46
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
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
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.