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: WatchDescriptorWatch 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: AddWatchFlagsEvent 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::ResultAuto Trait Implementations
impl RefUnwindSafe for InotifyEventimpl Send for InotifyEventimpl Sync for InotifyEventimpl Unpin for InotifyEventimpl UnwindSafe for InotifyEventBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T