#[repr(C)]pub struct es_event_mprotect_t {
pub protection: i32,
pub address: user_addr_t,
pub size: user_size_t,
/* private fields */
}Available on macOS only.
Expand description
Control protection of pages
This event type does not support caching.
Fields§
§protection: i32The desired new protection value
address: user_addr_tThe base address to which the protection value will apply
size: user_size_tThe size of the memory region the protection value will apply
Trait Implementations§
Source§impl Clone for es_event_mprotect_t
impl Clone for es_event_mprotect_t
Source§fn clone(&self) -> es_event_mprotect_t
fn clone(&self) -> es_event_mprotect_t
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for es_event_mprotect_t
impl Debug for es_event_mprotect_t
Source§impl Hash for es_event_mprotect_t
impl Hash for es_event_mprotect_t
Source§impl PartialEq for es_event_mprotect_t
impl PartialEq for es_event_mprotect_t
impl Copy for es_event_mprotect_t
impl Eq for es_event_mprotect_t
impl StructuralPartialEq for es_event_mprotect_t
Auto Trait Implementations§
impl Freeze for es_event_mprotect_t
impl RefUnwindSafe for es_event_mprotect_t
impl Send for es_event_mprotect_t
impl Sync for es_event_mprotect_t
impl Unpin for es_event_mprotect_t
impl UnwindSafe for es_event_mprotect_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