#[repr(C)]pub struct es_event_get_task_inspect_t {
pub target: ShouldNotBeNull<es_process_t>,
pub type_: es_get_task_type_t,
/* private fields */
}Available on macOS and crate feature
macos_11_3_0 only.Expand description
Get a process’s task inspect port.
This event is fired when a process obtains a send right to a task inspect port (e.g.
task_inspect_for_pid(), task_identity_token_get_task_port()).
This event type does not support caching.
Fields§
§target: ShouldNotBeNull<es_process_t>The process for which the task inspect port will be retrieved
type_: es_get_task_type_tType indicating how the process is obtaining the task port for the target process.
Field available only if message version >= 5.
Implementations§
Source§impl es_event_get_task_inspect_t
Accessors for ShouldNotBeNull fields
impl es_event_get_task_inspect_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn target(&self) -> &es_process_t
pub unsafe fn target(&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_get_task_inspect_t
impl RefUnwindSafe for es_event_get_task_inspect_t
impl !Send for es_event_get_task_inspect_t
impl !Sync for es_event_get_task_inspect_t
impl Unpin for es_event_get_task_inspect_t
impl UnwindSafe for es_event_get_task_inspect_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