Skip to main content

NotifyHook

Trait NotifyHook 

Source
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§

Source

fn notify( &self, watchers: &InotifyWatchers, event_mask: InotifyMask, cookie: u32, name: &FsStr, mode: FileMode, is_dead: bool, )

Implementors§