#[repr(u32)]pub enum ucm_event_type {
Show 15 variants
UCM_EVENT_NONE = 0,
UCM_EVENT_MMAP = 1,
UCM_EVENT_MUNMAP = 2,
UCM_EVENT_MREMAP = 4,
UCM_EVENT_SHMAT = 8,
UCM_EVENT_SHMDT = 16,
UCM_EVENT_SBRK = 32,
UCM_EVENT_MADVISE = 64,
UCM_EVENT_BRK = 128,
UCM_EVENT_VM_MAPPED = 65_536,
UCM_EVENT_VM_UNMAPPED = 131_072,
UCM_EVENT_MEM_TYPE_ALLOC = 1_048_576,
UCM_EVENT_MEM_TYPE_FREE = 2_097_152,
UCM_EVENT_FLAG_NO_INSTALL = 16_777_216,
UCM_EVENT_FLAG_EXISTING_ALLOC = 33_554_432,
}Expand description
@brief Memory event types
Variants§
UCM_EVENT_NONE = 0
UCM_EVENT_MMAP = 1
UCM_EVENT_MUNMAP = 2
UCM_EVENT_MREMAP = 4
UCM_EVENT_SHMAT = 8
UCM_EVENT_SHMDT = 16
UCM_EVENT_SBRK = 32
UCM_EVENT_MADVISE = 64
UCM_EVENT_BRK = 128
UCM_EVENT_VM_MAPPED = 65_536
UCM_EVENT_VM_UNMAPPED = 131_072
UCM_EVENT_MEM_TYPE_ALLOC = 1_048_576
UCM_EVENT_MEM_TYPE_FREE = 2_097_152
UCM_EVENT_FLAG_NO_INSTALL = 16_777_216
UCM_EVENT_FLAG_EXISTING_ALLOC = 33_554_432
Trait Implementations§
Source§impl Clone for ucm_event_type
impl Clone for ucm_event_type
Source§fn clone(&self) -> ucm_event_type
fn clone(&self) -> ucm_event_type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ucm_event_type
impl Debug for ucm_event_type
Source§impl Hash for ucm_event_type
impl Hash for ucm_event_type
Source§impl PartialEq for ucm_event_type
impl PartialEq for ucm_event_type
impl Copy for ucm_event_type
impl Eq for ucm_event_type
impl StructuralPartialEq for ucm_event_type
Auto Trait Implementations§
impl Freeze for ucm_event_type
impl RefUnwindSafe for ucm_event_type
impl Send for ucm_event_type
impl Sync for ucm_event_type
impl Unpin for ucm_event_type
impl UnwindSafe for ucm_event_type
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