pub struct PollWatcher { /* private fields */ }
Expand description

Polling based Watcher implementation.

By default scans through all files and checks for changed entries based on their change date. Can also be changed to perform file content change checks.

See [PollWatcherConfig] for more details.

Implementations

Create a new PollWatcher, configured as needed.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Create a new PollWatcher.

Begin watching a new path. Read more

Stop watching a path. Read more

Returns the watcher kind, allowing to perform backend-specific tasks

Configure the watcher at runtime. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.