pub trait Notify: Send {
// Required method
fn notify(&self);
}Expand description
A trait for types which can be notified of new events.
New events are accessible through the FileWatcher instance.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".