#[repr(C)]pub struct es_event_unlink_t {
pub target: ShouldNotBeNull<es_file_t>,
pub parent_dir: ShouldNotBeNull<es_file_t>,
/* private fields */
}Available on macOS only.
Expand description
Unlink a file system object.
This event can fire multiple times for a single syscall, for example when the syscall has to be retried due to racing VFS operations.
This event type does not support caching.
Fields§
§target: ShouldNotBeNull<es_file_t>The object that will be removed
parent_dir: ShouldNotBeNull<es_file_t>The parent directory of the target file system object
Implementations§
Source§impl es_event_unlink_t
Accessors for ShouldNotBeNull fields
impl es_event_unlink_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.
Sourcepub unsafe fn parent_dir(&self) -> &es_file_t
pub unsafe fn parent_dir(&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_unlink_t
impl RefUnwindSafe for es_event_unlink_t
impl !Send for es_event_unlink_t
impl !Sync for es_event_unlink_t
impl Unpin for es_event_unlink_t
impl UnwindSafe for es_event_unlink_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