[−][src]Struct nix::sys::inotify::InotifyEvent
A single inotify event.
For more documentation see, inotify(7).
Fields
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.
mask: AddWatchFlags
Event mask. This field is a bitfield describing the exact event that occured.
This cookie is a number that allows you to connect related events. For now only IN_MOVED_FROM and IN_MOVED_TO can be connected.
name: Option<OsString>
Filename. This field exists only if the event was triggered for a file inside the watched directory.
Trait Implementations
Auto Trait Implementations
impl Unpin for InotifyEvent
impl Sync for InotifyEvent
impl Send for InotifyEvent
impl UnwindSafe for InotifyEvent
impl RefUnwindSafe for InotifyEvent
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,