Struct linux_perf_event_reader::RecordType
source · [−]pub struct RecordType(pub u32);Tuple Fields
0: u32Implementations
sourceimpl RecordType
impl RecordType
pub const MMAP: Self = Self(PERF_RECORD_MMAP)
pub const LOST: Self = Self(PERF_RECORD_LOST)
pub const COMM: Self = Self(PERF_RECORD_COMM)
pub const EXIT: Self = Self(PERF_RECORD_EXIT)
pub const THROTTLE: Self = Self(PERF_RECORD_THROTTLE)
pub const UNTHROTTLE: Self = Self(PERF_RECORD_UNTHROTTLE)
pub const FORK: Self = Self(PERF_RECORD_FORK)
pub const READ: Self = Self(PERF_RECORD_READ)
pub const SAMPLE: Self = Self(PERF_RECORD_SAMPLE)
pub const MMAP2: Self = Self(PERF_RECORD_MMAP2)
pub const AUX: Self = Self(PERF_RECORD_AUX)
pub const ITRACE_START: Self = Self(PERF_RECORD_ITRACE_START)
pub const LOST_SAMPLES: Self = Self(PERF_RECORD_LOST_SAMPLES)
pub const SWITCH: Self = Self(PERF_RECORD_SWITCH)
pub const SWITCH_CPU_WIDE: Self = Self(PERF_RECORD_SWITCH_CPU_WIDE)
pub const NAMESPACES: Self = Self(PERF_RECORD_NAMESPACES)
pub const KSYMBOL: Self = Self(PERF_RECORD_KSYMBOL)
pub const BPF_EVENT: Self = Self(PERF_RECORD_BPF_EVENT)
pub const CGROUP: Self = Self(PERF_RECORD_CGROUP)
pub const TEXT_POKE: Self = Self(PERF_RECORD_TEXT_POKE)
pub const AUX_OUTPUT_HW_ID: Self = Self(PERF_RECORD_AUX_OUTPUT_HW_ID)
pub const HEADER_ATTR: Self = Self(PERF_RECORD_HEADER_ATTR)
pub const HEADER_EVENT_TYPE: Self = Self(PERF_RECORD_HEADER_EVENT_TYPE)
pub const HEADER_TRACING_DATA: Self = Self(PERF_RECORD_HEADER_TRACING_DATA)
pub const HEADER_BUILD_ID: Self = Self(PERF_RECORD_HEADER_BUILD_ID)
pub const FINISHED_ROUND: Self = Self(PERF_RECORD_FINISHED_ROUND)
pub const ID_INDEX: Self = Self(PERF_RECORD_ID_INDEX)
pub const AUXTRACE_INFO: Self = Self(PERF_RECORD_AUXTRACE_INFO)
pub const AUXTRACE: Self = Self(PERF_RECORD_AUXTRACE)
pub const AUXTRACE_ERROR: Self = Self(PERF_RECORD_AUXTRACE_ERROR)
pub const THREAD_MAP: Self = Self(PERF_RECORD_THREAD_MAP)
pub const CPU_MAP: Self = Self(PERF_RECORD_CPU_MAP)
pub const STAT_CONFIG: Self = Self(PERF_RECORD_STAT_CONFIG)
pub const STAT: Self = Self(PERF_RECORD_STAT)
pub const STAT_ROUND: Self = Self(PERF_RECORD_STAT_ROUND)
pub const EVENT_UPDATE: Self = Self(PERF_RECORD_EVENT_UPDATE)
pub const TIME_CONV: Self = Self(PERF_RECORD_TIME_CONV)
pub const HEADER_FEATURE: Self = Self(PERF_RECORD_HEADER_FEATURE)
pub const COMPRESSED: Self = Self(PERF_RECORD_COMPRESSED)
pub fn is_builtin_type(&self) -> bool
pub fn is_user_type(&self) -> bool
Trait Implementations
sourceimpl Clone for RecordType
impl Clone for RecordType
sourcefn clone(&self) -> RecordType
fn clone(&self) -> RecordType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RecordType
impl Debug for RecordType
sourceimpl Hash for RecordType
impl Hash for RecordType
sourceimpl Ord for RecordType
impl Ord for RecordType
sourceimpl PartialEq<RecordType> for RecordType
impl PartialEq<RecordType> for RecordType
sourcefn eq(&self, other: &RecordType) -> bool
fn eq(&self, other: &RecordType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RecordType) -> bool
fn ne(&self, other: &RecordType) -> bool
This method tests for !=.
sourceimpl PartialOrd<RecordType> for RecordType
impl PartialOrd<RecordType> for RecordType
sourcefn partial_cmp(&self, other: &RecordType) -> Option<Ordering>
fn partial_cmp(&self, other: &RecordType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for RecordType
impl Eq for RecordType
impl StructuralEq for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more