pub struct EventAuxiliaryFlags {
pub ignored: bool,
pub isdir: bool,
pub unmount: bool,
}Expand description
Auxiliary flags for inotify events
The non-mutually-exclusive bitflags that may be set in an event read from an inotify fd. 0 or more of these bitflags may be set.
Fields§
§ignored: boolWatch was removed when explicitly removed via inotify_rm_watch(2)
or automatically (because the file was deleted or the filesystem was unmounted)
isdir: boolEvent subject is a directory rather than a regular file
unmount: boolFile system containing watched object was unmounted
An event with IN_IGNORED will subsequently be generated for the same watch descriptor.
Implementations§
Source§impl EventAuxiliaryFlags
impl EventAuxiliaryFlags
Sourcepub fn from_raw_event_mask(mask: EventMask) -> Self
pub fn from_raw_event_mask(mask: EventMask) -> Self
Parse the auxiliary flags from a raw event mask
Trait Implementations§
Source§impl Clone for EventAuxiliaryFlags
impl Clone for EventAuxiliaryFlags
Source§fn clone(&self) -> EventAuxiliaryFlags
fn clone(&self) -> EventAuxiliaryFlags
Returns a duplicate of the value. Read more
1.0.0 · 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 EventAuxiliaryFlags
impl Debug for EventAuxiliaryFlags
Source§impl Default for EventAuxiliaryFlags
impl Default for EventAuxiliaryFlags
Source§fn default() -> EventAuxiliaryFlags
fn default() -> EventAuxiliaryFlags
Returns the “default value” for a type. Read more
Source§impl From<EventMask> for EventAuxiliaryFlags
impl From<EventMask> for EventAuxiliaryFlags
Source§impl Hash for EventAuxiliaryFlags
impl Hash for EventAuxiliaryFlags
Source§impl PartialEq for EventAuxiliaryFlags
impl PartialEq for EventAuxiliaryFlags
impl Copy for EventAuxiliaryFlags
impl Eq for EventAuxiliaryFlags
impl StructuralPartialEq for EventAuxiliaryFlags
Auto Trait Implementations§
impl Freeze for EventAuxiliaryFlags
impl RefUnwindSafe for EventAuxiliaryFlags
impl Send for EventAuxiliaryFlags
impl Sync for EventAuxiliaryFlags
impl Unpin for EventAuxiliaryFlags
impl UnwindSafe for EventAuxiliaryFlags
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