Struct lrs::inotify::Inotify

An inotify object.

Syntax

struct Inotify {
    /* private fields */
}

Static methods

NameDescription
new

Creates a new inotify object.

Methods

ReceiverNameDescription
&selfavailable

Returns the number of bytes available for reading.

&selfevents

Reads events and creates an iterator over those events.

&selfremove_watch

Removes a watch.

&selfset_watch

Adds a watch or changes the watch of a path.

Trait implementations

NameDescription
Drop

Objects with a destructor.

FDContainer

Objects that are file descriptor wrappers.

UndefState

Types that are not valid when they contain certain bit patterns.