Enum pfm_sys::perf_event_type [−][src]
#[repr(u32)]
pub enum perf_event_type {
Show variants
PERF_RECORD_MMAP,
PERF_RECORD_LOST,
PERF_RECORD_COMM,
PERF_RECORD_EXIT,
PERF_RECORD_THROTTLE,
PERF_RECORD_UNTHROTTLE,
PERF_RECORD_FORK,
PERF_RECORD_READ,
PERF_RECORD_SAMPLE,
PERF_RECORD_MMAP2,
PERF_RECORD_AUX,
PERF_RECORD_ITRACE_START,
PERF_RECORD_LOST_SAMPLES,
PERF_RECORD_SWITCH,
PERF_RECORD_SWITCH_CPU_WIDE,
PERF_RECORD_NAMESPACES,
PERF_RECORD_MAX,
}Variants
Trait Implementations
impl Clone for perf_event_type[src]
impl Clone for perf_event_type[src]fn clone(&self) -> perf_event_type[src]
fn clone(&self) -> perf_event_type[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for perf_event_type[src]
impl Debug for perf_event_type[src]impl Hash for perf_event_type[src]
impl Hash for perf_event_type[src]impl PartialEq<perf_event_type> for perf_event_type[src]
impl PartialEq<perf_event_type> for perf_event_type[src]impl Copy for perf_event_type[src]
impl Eq for perf_event_type[src]
impl StructuralEq for perf_event_type[src]
impl StructuralPartialEq for perf_event_type[src]
Auto Trait Implementations
impl RefUnwindSafe for perf_event_type
impl Send for perf_event_type
impl Sync for perf_event_type
impl Unpin for perf_event_type
impl UnwindSafe for perf_event_type
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more