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

Polling based Watcher implementation

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.

The default poll frequency is 30 seconds. Use [with_delay] to manually set the poll frequency.

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.