Struct linux_perf_data::UserRecordType
source · pub struct UserRecordType(/* private fields */);Expand description
A newtype wrapping RecordType values for which RecordType::is_user_type() returns true.
Implementations§
source§impl UserRecordType
impl UserRecordType
pub const PERF_HEADER_ATTR: Self = _
pub const PERF_HEADER_EVENT_TYPE: Self = _
pub const PERF_HEADER_TRACING_DATA: Self = _
pub const PERF_HEADER_BUILD_ID: Self = _
pub const PERF_FINISHED_ROUND: Self = _
pub const PERF_ID_INDEX: Self = _
pub const PERF_AUXTRACE_INFO: Self = _
pub const PERF_AUXTRACE: Self = _
pub const PERF_AUXTRACE_ERROR: Self = _
pub const PERF_THREAD_MAP: Self = _
pub const PERF_CPU_MAP: Self = _
pub const PERF_STAT_CONFIG: Self = _
pub const PERF_STAT: Self = _
pub const PERF_STAT_ROUND: Self = _
pub const PERF_EVENT_UPDATE: Self = _
pub const PERF_TIME_CONV: Self = _
pub const PERF_HEADER_FEATURE: Self = _
pub const PERF_COMPRESSED: Self = _
pub const SIMPLEPERF_KERNEL_SYMBOL: Self = _
pub const SIMPLEPERF_DSO: Self = _
pub const SIMPLEPERF_SYMBOL: Self = _
pub const SIMPLEPERF_SPLIT: Self = _
pub const SIMPLEPERF_SPLIT_END: Self = _
pub const SIMPLEPERF_EVENT_ID: Self = _
pub const SIMPLEPERF_CALLCHAIN: Self = _
pub const SIMPLEPERF_UNWINDING_RESULT: Self = _
pub const SIMPLEPERF_TRACING_DATA: Self = _
pub fn try_from(record_type: RecordType) -> Option<Self>
pub fn record_type(&self) -> RecordType
Trait Implementations§
source§impl Clone for UserRecordType
impl Clone for UserRecordType
source§fn clone(&self) -> UserRecordType
fn clone(&self) -> UserRecordType
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 UserRecordType
impl Debug for UserRecordType
source§impl From<UserRecordType> for RecordType
impl From<UserRecordType> for RecordType
source§fn from(record_type: UserRecordType) -> Self
fn from(record_type: UserRecordType) -> Self
Converts to this type from the input type.
source§impl Hash for UserRecordType
impl Hash for UserRecordType
source§impl Ord for UserRecordType
impl Ord for UserRecordType
source§fn cmp(&self, other: &UserRecordType) -> Ordering
fn cmp(&self, other: &UserRecordType) -> 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 for UserRecordType
impl PartialEq for UserRecordType
source§fn eq(&self, other: &UserRecordType) -> bool
fn eq(&self, other: &UserRecordType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for UserRecordType
impl PartialOrd for UserRecordType
source§fn partial_cmp(&self, other: &UserRecordType) -> Option<Ordering>
fn partial_cmp(&self, other: &UserRecordType) -> 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 moreimpl Copy for UserRecordType
impl Eq for UserRecordType
impl StructuralPartialEq for UserRecordType
Auto Trait Implementations§
impl Freeze for UserRecordType
impl RefUnwindSafe for UserRecordType
impl Send for UserRecordType
impl Sync for UserRecordType
impl Unpin for UserRecordType
impl UnwindSafe for UserRecordType
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