[][src]Struct nc::types::inotify_event_t

#[repr(C)]pub struct inotify_event_t {
    pub wd: u32,
    pub mask: u32,
    pub cookie: u32,
    pub len: u32,
    pub name: usize,
}

struct inotify_event - structure read from the inotify device for each event

When you are watching a directory, you will receive the filename for events such as IN_CREATE, IN_DELETE, IN_OPEN, IN_CLOSE, ..., relative to the wd.

Fields

wd: u32

watch descriptor

mask: u32

watch mask

cookie: u32

cookie to synchronize two events

len: u32

length (including nulls) of name

name: usize

stub for possible name

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.