pub trait NotifyHook:
Send
+ Sync
+ 'static {
// Required methods
fn notify(
&self,
watchers: &InotifyWatchers,
event_mask: InotifyMask,
cookie: u32,
name: &FsStr,
mode: FileMode,
is_dead: bool,
);
fn get_next_cookie(&self) -> u32;
}Required Methods§
fn notify( &self, watchers: &InotifyWatchers, event_mask: InotifyMask, cookie: u32, name: &FsStr, mode: FileMode, is_dead: bool, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".