#[repr(C)]pub struct es_event_create_t {
pub destination_type: es_destination_type_t,
pub destination: es_event_create_t_anon_0,
pub anon_1: es_event_create_t_anon_1,
/* private fields */
}Available on macOS only.
Expand description
Create a file system object.
If an object is being created but has not yet been created, the destination_type will be
ES_DESTINATION_TYPE_NEW_PATH.
Typically ES_EVENT_TYPE_NOTIFY_CREATE events are fired after the object has been created and
the destination_type will be ES_DESTINATION_TYPE_EXISTING_FILE. The exception to this is
for notifications that occur if an ES client responds to an ES_EVENT_TYPE_AUTH_CREATE event
with ES_AUTH_RESULT_DENY.
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§
§destination_type: es_destination_type_tWhether or not the destination refers to an existing file (see note)
destination: es_event_create_t_anon_0Information about the destination of the new file (see note)
anon_1: es_event_create_t_anon_1Auto Trait Implementations§
impl Freeze for es_event_create_t
impl RefUnwindSafe for es_event_create_t
impl !Send for es_event_create_t
impl !Sync for es_event_create_t
impl Unpin for es_event_create_t
impl UnwindSafe for es_event_create_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