#[repr(C)]pub struct es_event_setflags_t {
pub flags: u32,
pub target: ShouldNotBeNull<es_file_t>,
/* private fields */
}Available on macOS only.
Expand description
Modify file flags information.
The flags member is the desired set of new flags. The target member’s stat information
contains the current set of flags.
Cache key for this event type: (process executable file, target file).
Fields§
§flags: u32The desired new flags
target: ShouldNotBeNull<es_file_t>The file for which flags information will be modified
Implementations§
Source§impl es_event_setflags_t
Accessors for ShouldNotBeNull fields
impl es_event_setflags_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn target(&self) -> &es_file_t
pub unsafe fn target(&self) -> &es_file_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_setflags_t
impl RefUnwindSafe for es_event_setflags_t
impl !Send for es_event_setflags_t
impl !Sync for es_event_setflags_t
impl Unpin for es_event_setflags_t
impl UnwindSafe for es_event_setflags_t
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