Struct linux_perf_event_reader::RecordType
source · pub struct RecordType(pub u32);Tuple Fields§
§0: u32Implementations§
source§impl RecordType
impl RecordType
pub const MMAP: Self = _
pub const LOST: Self = _
pub const COMM: Self = _
pub const EXIT: Self = _
pub const THROTTLE: Self = _
pub const UNTHROTTLE: Self = _
pub const FORK: Self = _
pub const READ: Self = _
pub const SAMPLE: Self = _
pub const MMAP2: Self = _
pub const AUX: Self = _
pub const ITRACE_START: Self = _
pub const LOST_SAMPLES: Self = _
pub const SWITCH: Self = _
pub const SWITCH_CPU_WIDE: Self = _
pub const NAMESPACES: Self = _
pub const KSYMBOL: Self = _
pub const BPF_EVENT: Self = _
pub const CGROUP: Self = _
pub const TEXT_POKE: Self = _
pub const AUX_OUTPUT_HW_ID: Self = _
pub fn is_builtin_type(&self) -> bool
pub fn is_user_type(&self) -> bool
Trait Implementations§
source§impl Clone for RecordType
impl Clone for RecordType
source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
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 RecordType
impl Debug for RecordType
source§impl Hash for RecordType
impl Hash for RecordType
source§impl Ord for RecordType
impl Ord for RecordType
source§fn cmp(&self, other: &RecordType) -> Ordering
fn cmp(&self, other: &RecordType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RecordType> for RecordType
impl PartialEq<RecordType> for RecordType
source§fn eq(&self, other: &RecordType) -> bool
fn eq(&self, other: &RecordType) -> bool
source§impl PartialOrd<RecordType> for RecordType
impl PartialOrd<RecordType> for RecordType
source§fn partial_cmp(&self, other: &RecordType) -> Option<Ordering>
fn partial_cmp(&self, other: &RecordType) -> Option<Ordering>
1.0.0 · source§fn 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