pub struct InotifyEvent {
pub wd: i32,
pub mask: u32,
pub name: Option<Vec<u8>>,
}Expand description
A decoded inotify event header.
This structure represents an inotify_event including its optional name.
Fields§
§wd: i32Watch descriptor that generated this event.
mask: u32Event mask (e.g., MODIFY_MASK).
name: Option<Vec<u8>>Optional raw name bytes associated with the event.
Inotify names are arbitrary bytes except for the NUL terminator. Callers decide whether and how to interpret them as text.
Trait Implementations§
Source§impl Clone for InotifyEvent
impl Clone for InotifyEvent
Source§fn clone(&self) -> InotifyEvent
fn clone(&self) -> InotifyEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InotifyEvent
impl Debug for InotifyEvent
impl Eq for InotifyEvent
Source§impl PartialEq for InotifyEvent
impl PartialEq for InotifyEvent
Source§fn eq(&self, other: &InotifyEvent) -> bool
fn eq(&self, other: &InotifyEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InotifyEvent
Auto Trait Implementations§
impl Freeze for InotifyEvent
impl RefUnwindSafe for InotifyEvent
impl Send for InotifyEvent
impl Sync for InotifyEvent
impl Unpin for InotifyEvent
impl UnsafeUnpin for InotifyEvent
impl UnwindSafe for InotifyEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more