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;
}