Enum pfm_sys::perf_bpf_event_type
source · #[repr(u32)]pub enum perf_bpf_event_type {
PERF_BPF_EVENT_UNKNOWN = 0,
PERF_BPF_EVENT_PROG_LOAD = 1,
PERF_BPF_EVENT_PROG_UNLOAD = 2,
PERF_BPF_EVENT_MAX = 3,
}
Variants§
PERF_BPF_EVENT_UNKNOWN = 0
PERF_BPF_EVENT_PROG_LOAD = 1
PERF_BPF_EVENT_PROG_UNLOAD = 2
PERF_BPF_EVENT_MAX = 3
Trait Implementations§
source§impl Clone for perf_bpf_event_type
impl Clone for perf_bpf_event_type
source§fn clone(&self) -> perf_bpf_event_type
fn clone(&self) -> perf_bpf_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 perf_bpf_event_type
impl Debug for perf_bpf_event_type
source§impl Hash for perf_bpf_event_type
impl Hash for perf_bpf_event_type
source§impl PartialEq for perf_bpf_event_type
impl PartialEq for perf_bpf_event_type
source§fn eq(&self, other: &perf_bpf_event_type) -> bool
fn eq(&self, other: &perf_bpf_event_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for perf_bpf_event_type
impl Eq for perf_bpf_event_type
impl StructuralEq for perf_bpf_event_type
impl StructuralPartialEq for perf_bpf_event_type
Auto Trait Implementations§
impl RefUnwindSafe for perf_bpf_event_type
impl Send for perf_bpf_event_type
impl Sync for perf_bpf_event_type
impl Unpin for perf_bpf_event_type
impl UnwindSafe for perf_bpf_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