Struct inotify::wrapper::Event [-] [+] [src]

pub struct Event {
    pub wd: i32,
    pub mask: u32,
    pub cookie: u32,
    pub name: String,
}

Fields

wd
mask
cookie
name

Methods

impl Event

fn is_access(&self) -> bool

fn is_modify(&self) -> bool

fn is_attrib(&self) -> bool

fn is_close_write(&self) -> bool

fn is_close_nowrite(&self) -> bool

fn is_open(&self) -> bool

fn is_moved_from(&self) -> bool

fn is_moved_to(&self) -> bool

fn is_create(&self) -> bool

fn is_delete(&self) -> bool

fn is_delete_self(&self) -> bool

fn is_move_self(&self) -> bool

fn is_move(&self) -> bool

fn is_close(&self) -> bool

fn is_dir(&self) -> bool

fn is_unmount(&self) -> bool

fn is_queue_overflow(&self) -> bool

fn is_ignored(&self) -> bool

Trait Implementations

Derived Implementations

impl Debug for Event

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Event

fn clone(&self) -> Event

fn clone_from(&mut self, source: &Self)