Struct nix::sys::inotify::InotifyEvent
pub struct InotifyEvent {
pub wd: WatchDescriptor,
pub mask: AddWatchFlags,
pub cookie: u32,
pub name: Option<OsString>,
}
Documentation
A single inotify event.
For more documentation see, inotify(7).
Fields
pub wd: WatchDescriptor
Watch descriptor. This field corresponds to the watch descriptor you were issued when calling add_watch. It allows you to know which watch this event comes from.
pub mask: AddWatchFlags
Event mask. This field is a bitfield describing the exact event that occured.
Trait Implementations
impl Debug for InotifyEvent
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
Auto Trait Implementations
impl RefUnwindSafe for InotifyEvent
impl Send for InotifyEvent
impl Sync for InotifyEvent
impl Unpin for InotifyEvent
impl UnwindSafe for InotifyEvent
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T