#[repr(C)]pub struct es_event_fork_t {
pub child: ShouldNotBeNull<es_process_t>,
/* private fields */
}Available on macOS only.
Expand description
Fork a new process
This event type does not support caching (notify-only).
Fields§
§child: ShouldNotBeNull<es_process_t>The child process that was created
Implementations§
Source§impl es_event_fork_t
Accessors for ShouldNotBeNull fields
impl es_event_fork_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn child(&self) -> &es_process_t
pub unsafe fn child(&self) -> &es_process_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_fork_t
impl RefUnwindSafe for es_event_fork_t
impl !Send for es_event_fork_t
impl !Sync for es_event_fork_t
impl Unpin for es_event_fork_t
impl UnwindSafe for es_event_fork_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