#[repr(C)]pub struct es_event_proc_check_t {
pub target: *mut es_process_t,
pub type_: es_proc_check_type_t,
pub flavor: c_int,
/* private fields */
}Available on macOS and crate feature
macos_10_15_4 only.Expand description
Access control check for retrieving process information
Cache key for this event type: (process executable file, target process executable file, type).
Fields§
§target: *mut es_process_tThe process for which the access will be checked
type_: es_proc_check_type_tThe type of call number used to check the access on the target process
flavor: c_intThe flavor used to check the access on the target process
Implementations§
Source§impl es_event_proc_check_t
Accessors for *mut and *const fields
impl es_event_proc_check_t
Accessors for *mut and *const fields
Sourcepub unsafe fn target(&self) -> Option<&es_process_t>
pub unsafe fn target(&self) -> Option<&es_process_t>
Helper to avoid the is_null() + deref every time.
§Safety
The pointer must be valid (aligned & initialized) for a value of the expected type.
Auto Trait Implementations§
impl Freeze for es_event_proc_check_t
impl RefUnwindSafe for es_event_proc_check_t
impl !Send for es_event_proc_check_t
impl !Sync for es_event_proc_check_t
impl Unpin for es_event_proc_check_t
impl UnwindSafe for es_event_proc_check_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